FileWatch (file_watch v0.1.4)

File Watcher 👀, like mix test.watch. v0.1.4

get-config-template

Get config template

config template, .fwatch.exs, will be generated under CWD. configuration details are described in it.

$ fwatch --config-template

start-watch

Start watch

$ fwatch

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

run_impl/2 is the essential function of :file_watch, which can be called either as an escript or as a mix task.

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

highlight(binary)

Link to this function

run(assets_dir_path)

@spec run(assets_dir_path :: String.t()) :: :ok
Link to this function

run_impl(config, wrapper_file_path)

@spec run_impl(config :: list(), wrapper_file_path :: String.t()) :: :ok

run_impl/2 is the essential function of :file_watch, which can be called either as an escript or as a mix task.

Link to this function

start_link(args)