Forrest logo
back to context overview

watchexec

List of commands for watchexec:

  • watchexec:tldr:634a0 watchexec: Run `make` when any file in the `lib` or `src` subdirectories change.
    $ watchexec --watch ${lib} --watch ${src} ${make}
    try on your machine
    explain this command
  • watchexec:tldr:743ce watchexec: Call/restart `my_server` when any file in the current directory change, sending `SIGKILL` to stop the child process.
    $ watchexec --restart --signal ${SIGKILL} ${my_server}
    try on your machine
    explain this command
  • watchexec:tldr:e585d watchexec: Run `make` when any JavaScript, CSS and HTML files in the current directory change.
    $ watchexec --exts ${js,css,html} make
    try on your machine
    explain this command
back to context overview