Exclosured.Watcher
(exclosured v0.1.4)
Copy Markdown
File watcher for development. Triggers WASM recompilation when Rust source files change.
Usage
Add to your Phoenix endpoint configuration:
config :my_app, MyAppWeb.Endpoint,
watchers: [
exclosured: {Exclosured.Watcher, :watch, []}
]Phoenix LiveReload will detect changes in priv/static/wasm/
and automatically refresh the browser.
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts the watcher. Called by Phoenix endpoint watcher config.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Starts the watcher. Called by Phoenix endpoint watcher config.