ajaxorg/cloud9 — pull request #2218 by gartz (2012-09-24 05:56:08+00:00)
Title: Forever support

New feature forever.

Forever is a service control for node.js

One of my biggest headakes with Cloud9 is that when somebugs and issues make the hole thing crash and stop, when I look, is "offline" and not saving any of my changes... This is very anoying.

So to fix it I'm using about 3 months the "forever" project to keep cloud9 alive.

when you start your project using ./bin/forevercloud9.sh it will do the same as official solution, but start inside forever's watchdog. If it crashes, forever will restart for you, you will not notice the most of the time.

I keep the -v to enable verbose in the console. This way who use for debugging will be able too.

Atention: forever uses node 0.8+ so you can configure your ./bin/forevercloud9.sh to use lastest version for node.js for forever and any custom for your own cloud9 instance (if you want to use 0.6.x, this will helps you).

I hope evebody like this, because the crashes is a very anoying thing and while cloud9 is working in the crashes fix, we can breathly use it without restarting all the time :)

Thanks folks, Hope like my solution!