Running:
http-server . &
Doesn't seem to work. It also doesn't play nice with forever or supervisor.
Any other suggestions?
For me, http-server . & works. I just have to press enter once more to get my prompt back. :P
I'm having trouble installing forever right now, but i will let you know if it works for me.
forever start $(which http-server) . works as well for me.
That or
forever start -c http-server
http-server . > http.log 2>&1 &
http-server . > http.log 2>&1 &
How do you stop this?
http-server . > http.log 2>&1 &
echo $! > /var/tmp/pidfile
pkill --pidfile /var/tmp/pidfile
@jackdh
See PID with
$ netstat -nlp
After KILL pid
$ kill 999
@jackdh kill the process
Most helpful comment