Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document inject_browser_reload_script #183

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/server.jl
Original file line number Diff line number Diff line change
Expand Up @@ -583,10 +583,12 @@ current directory. (See also [`example`](@ref) for an example folder).
filewatcher. By default the coreloop does nothing.
- `launch_browser`: boolean specifying whether to launch the ambient browser
at the localhost or not (default: false).
`allow_cors`: boolean allowing cross origin (CORS) requests to access the
- `allow_cors`: boolean allowing cross origin (CORS) requests to access the
server via the "Access-Control-Allow-Origin" header.
`preprocess_request`: function specifying the transformation of a request
- `preprocess_request`: function specifying the transformation of a request
before it is returned; its only argument is the current request.
- `inject_browser_reload_script`: boolean specifying whether the live-reloading
functionality should be injected into HTML pages when served.

# Example

Expand Down
Loading