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
You can set the options using that code. Just use the available flags after the end of your command. For example:
forever start ./node_modules/http-server/bin/http-server -p 80 -d false