Skip to content

Instantly share code, notes, and snippets.

@jgrodziski
Created February 26, 2021 16:46
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 jgrodziski/b69e3c72f7e7f5c5da5e51d3322c64c5 to your computer and use it in GitHub Desktop.
Save jgrodziski/b69e3c72f7e7f5c5da5e51d3322c64c5 to your computer and use it in GitHub Desktop.
File Watcher
#!/bin/bash
fswatch -o $1 | xargs -n1 -I{} /usr/bin/env bash -c "echo Reloading $2; ~/bin/reload-browser.sh $2" reload
@jgrodziski
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment