Current section

Files

Jump to
file_watch priv config.exs
Raw

priv/config.exs

config :file_watch,
# dirs to be watched
dirs: ["."],
# commands to be executed when detected, multiple commands can be specified
commands: [
"echo -e \" using default config file,\n modify CWD/.fwatch.exs to fit your use case. ๐Ÿ‘€\n\""
],
# if true, commands are executed in parallel
parallel_exec: false,
# path detecting patterns, should be written in regex
# refs. https://hexdocs.pm/elixir/Regex.html
patterns: [~r".*"],
# if your editor touches multiple files in a short period,
# it can be avoided by increasing the debounce(msec)
debounce: 100