Skip to content

Instantly share code, notes, and snippets.

@gerardorf
Last active December 18, 2017 10:58
Show Gist options
  • Save gerardorf/48c0c383d84a7c70c34be493b8915b82 to your computer and use it in GitHub Desktop.
Save gerardorf/48c0c383d84a7c70c34be493b8915b82 to your computer and use it in GitHub Desktop.
Run a command on file change. Monitor directory
// https://github.com/emcrisostomo/fswatch/wiki/How-to-Use-fswatch
fswatch -or . | xargs -n1 -I{} echo hola
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment