Last active
February 12, 2016 12:44
-
-
Save daniel-pedersen/2bb9ced4e48b49e09103 to your computer and use it in GitHub Desktop.
docker livereload watcher using entr and hickup
This file contains 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
# usage: | |
# docker-watch path container | |
alias docker-watch='__docker_watch() { find -E $1 -not -path "*node_modules*" -name "*.js" | entr docker kill -s HUP $2; }; __docker_watch' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment