|
|
# Organising our files
|
|
|
# Synchronizing our files
|
|
|
|
|
|
You are doing great and as we'll soon see, the possibilities are out of bounds.
|
|
|
|
... | ... | @@ -61,13 +61,18 @@ async def add_process_time_header(request: Request, call_next): |
|
|
response.headers["X-Process-Time"] = str(process_time)
|
|
|
return response
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
Exit _insert-mode_ by pressing `Esc`, and save the file using `:w`
|
|
|
|
|
|
The server will auto-reload your changes within 5 seconds
|
|
|
_**Note**: For the impatient out there, the issue can be forced by pressing **F5** in vim_
|
|
|
Within a second the server will now auto-reload your changes.
|
|
|
|
|
|
Change to your browser window, and open the browsers _dev-tools_ feature, usually toggled by pressing **F12**\
|
|
|
Click the _Network_ tab and refresh the page from before by pressing **F5**, look
|
|
|
|
|
|
**_Note_**_:_ _While the server reloads the changes, the browser might display "bad gateway" or "unreachable site" messages._\
|
|
|
_For the impatient out there, the issue can be forced by pressing **F5** in vim._
|
|
|
|
|
|
![image](uploads/6a5a9100d676b68fdd9833d5ef578d98/image.png)
|
|
|
|
|
|
Change to your browser window, and refresh the page from before by pressing **F5**
|
|
|
_**Note**: While the server reloads the changes, the browser might display "bad gateway" or "unreachable site" messages._ |
|
|
\ No newline at end of file |
|
|
Now we can time the time spent processing the incoming requests, sweet! |
|
|
\ No newline at end of file |