go-reload
go-reload copied to clipboard
Bash script to automatically reload Go programs
When the app closes, the script kills off all inotifywait commands. Well, if you have have inotifywait commands running on your machine, those get killed! Not cool. Now, we can...
Added an event "-e modify" to solve the #9 issue that doesn't work on Ubuntu 14.04 with inotifywait 3.14.
Nothing happens when go-file changed. Operating system: Ubuntu 14.04
And change the shebang to `/bin/sh`. See https://github.com/alexedwards/go-reload/pull/7 and https://www.shellcheck.net/.