I'm trying to get a simple node.js example working on nitrous.io. I've pretty much just followed the yeoman tutorial with the angular template. I've had to modify my localhost to 0.0.0.0 and change my liveReload port to 4000. I also had to run grunt server with a --force command because I get the following error:
Warning: Command failed: /home/action/workspace/node-test/node_modules/grunt-open/node_modules/open/vendor/xdg-open: 1: /home/action/workspace/node-test/node_modules/grunt-open/node_modules/open/vendor/xdg-open: xdg-mime: not found
After jumping through these hurdles live reload doesn't seem to work. Does my "box" need to have xdg-mime or xdg-utils installed for this to work? The file watcher appears to notice the change but the webpage does not update after any of the js polling.
(I'm new to all of these technologies, but it seems like this tutorial example should work)
Edit: After help from Sindre I no longer have the, now obviously simple (hindsight), issue with missing xdg-mime but I do have an issue with live reload not working
Per Nitrous.io support
The issue here is that websockets is blocked on Nitrous servers, which only HTTP ports 3000 - 9000 are open at this time. Live reload needs to run HTTP and WebSockets on the same port in order to function.
WebSocket support may be something we will be adding in the near future