Skip to content

Instantly share code, notes, and snippets.

@chaitanyagupta
Created July 17, 2019 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chaitanyagupta/8ec5e4bf3b37a1998518fcf889e7af14 to your computer and use it in GitHub Desktop.
Save chaitanyagupta/8ec5e4bf3b37a1998518fcf889e7af14 to your computer and use it in GitHub Desktop.
Using fswatch to run a command when a file changes
fswatch -o presentation.md | xargs -n1 -I{} ./make-presentation.sh presentation.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment