zotonic_filewatcher_sup (zotonic_filewatcher v1.0.0-rc.11)
Link to this section Summary
Functions
Return the filewatcher gen_server(s) to be used.
Restart watchers because of a new application. This is because of new symlinks, the filewatcher_monitor resolves symlinks itself, so doesn't need to be restarted.
API for starting the site supervisor.
Return the list of all directories to watch
We expand all watch dirs, so that symbolic links to src, include, and priv are followed
Link to this section Functions
Link to this function
init(_)
Link to this function
restart_watchers()
Link to this function
start_link()
Link to this function
start_watchers()
Link to this function
watch_dirs()
-spec watch_dirs() -> [string()].
Link to this function
watch_dirs_expanded()
-spec watch_dirs_expanded() -> [string()].