X-Git-Url: https://git.auder.net/?p=xogo.git;a=blobdiff_plain;f=start.sh;h=84340971f129522dca8170b28662b6f09f73b011;hp=4fe679027fbcf7138e7817dbbafd3c8583437384;hb=0e466aac11288f35b34d744b2652c7b4e9df2e24;hpb=518bfb7a260f95e282f763878c2e9cf5ba58ef86 diff --git a/start.sh b/start.sh index 4fe6790..8434097 100755 --- a/start.sh +++ b/start.sh @@ -1,10 +1,5 @@ #!/bin/sh -nodemon -i index.js -i base_rules.js ./server.js & -echo "NODE_PID=$!" > .pid - -# NOTE: require browser plugin + start it -livereload -e 'html,js,css,png,jpg,jpeg,gif,svg' -w 1000 -d . & - -# I use 8080 for socket and 8000 for http server (arbitrary...) +nodemon -i app.js -i base_rules.js ./server.js & +echo $! > .pid php -S localhost:8000 &