I want to use http-server and forever.js to deploy my app to remote ubuntu server. But forever.js requires path to JS file, not to executable. So I can\'t pass keys to http-serv
This worked with me
First get path of http-server like this
which http-server
for example you will get "/usr/bin/http-server"
then after that write the forever followed by http-server path and your app path
forever start /usr/bin/http-server /your/app/path
Best regards.