Commit | Line | Data |
---|---|---|
41534b92 BA |
1 | #!/bin/sh |
2 | ||
3 | nodemon -i index.js -i base_rules.js ./server.js & | |
4 | echo "NODE_PID=$!" > .pid | |
5 | ||
6 | # NOTE: require browser plugin + start it | |
7 | livereload -e 'html,js,css,png,jpg,jpeg,gif,svg' -w 1000 -d . & | |
8 | ||
9 | # I use 8080 for socket and 8000 for http server (arbitrary...) | |
10 | php -S localhost:8000 & |