zotonic_filehandler_handler (zotonic_filehandler v1.0.0-rc.13)
Link to this section Summary
Functions
Observer for the filewatcher changes notification.
Ignore action commands, useful to prevent duplication of actions during longer runs or as side effects of running actions.
Ignore directories that are busy, for example a directory in lib-src where currently a Makefile is running.
Link to this section Functions
Link to this function
code_change(Vsn, State, Extra)
Link to this function
compile_all()
-spec compile_all() -> ok | {error, term()}.
Link to this function
filewatcher_changes_observer(Filewatcher_changes, Ctx)
-spec filewatcher_changes_observer(#filewatcher_changes{}, term()) -> ok.
Link to this function
handle_call(_, From, State)
Link to this function
handle_cast(Msg, State)
Link to this function
handle_changes(Es)
-spec handle_changes(map()) -> ok.
Link to this function
handle_info(Msg, State)
Link to this function
ignore_action(Action, IsIgnore)
-spec ignore_action(term(), boolean()) -> ok.
Link to this function
ignore_dir(Dir, IsIgnore)
-spec ignore_dir(file:filename_all(), boolean()) -> ok.
Link to this function
init(_)
Link to this function
reload_module(Module)
-spec reload_module(module()) -> ok | {error, term()}.
Link to this function
reload_modules()
-spec reload_modules() -> ok | {error, term()}.
Link to this function
start_link()
-spec start_link() -> {ok, pid()} | {error, term()}.
Link to this function