Skip to content

Instantly share code, notes, and snippets.

@melissacoleman
Created November 3, 2017 18:38
Show Gist options
  • Save melissacoleman/671964028417bfc20615b325b2874ba4 to your computer and use it in GitHub Desktop.
Save melissacoleman/671964028417bfc20615b325b2874ba4 to your computer and use it in GitHub Desktop.
Watchman
#!/bin/bash
set -eo pipefail
cd "$(dirname "$0")"
watchman watch-del-all
watchman watch .
watchman -- trigger . sync '**/*' -- ./sync.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment