Skip to content

Commit 9c997df

Browse files
authored
document inject_browser_reload_script (#183)
1 parent 153b7da commit 9c997df

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/server.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,10 +583,12 @@ current directory. (See also [`example`](@ref) for an example folder).
583583
filewatcher. By default the coreloop does nothing.
584584
- `launch_browser`: boolean specifying whether to launch the ambient browser
585585
at the localhost or not (default: false).
586-
`allow_cors`: boolean allowing cross origin (CORS) requests to access the
586+
- `allow_cors`: boolean allowing cross origin (CORS) requests to access the
587587
server via the "Access-Control-Allow-Origin" header.
588-
`preprocess_request`: function specifying the transformation of a request
588+
- `preprocess_request`: function specifying the transformation of a request
589589
before it is returned; its only argument is the current request.
590+
- `inject_browser_reload_script`: boolean specifying whether the live-reloading
591+
functionality should be injected into HTML pages when served.
590592
591593
# Example
592594

0 commit comments

Comments
 (0)