Created
April 26, 2020 09:38
-
-
Save feloy/86b960fd3ee2af850e21aa5b78a3a762 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while : ; do | |
go run main.go & | |
fswatch -xrn1 -m inotify_monitor --event Created --event Removed --event Updated --event Renamed . | |
killall main | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment