Created
September 6, 2017 15:38
-
-
Save wader/de8bf72cc6adaa1b2a6ee07b790e6451 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
| { | |
| daemon: cd app && webpack -w | |
| } | |
| cmd/**/*.go store/**/*.go handler/**/*.go templates/**/*.html { | |
| prep: go install | |
| daemon: app | |
| # tell devd to reload browser (uses sleep to make it a "daemon" and be restarted when prep:s are done) | |
| daemon: sleep 0.3s; pkill -HUP devd; exec sleep inf | |
| } | |
| app/dist/bundle.js { | |
| # localhost:8080 is the go web server | |
| daemon: devd -qml -w ./app/static -A 0.0.0.0 -p 8081 http://localhost:8080 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment