Live/Hot node.js server source code editing

I have a problem.

My problem is that every time I make changes to my node.js server code, I have to restart the entire thing to see the results.

Instead of this, I remember seeing something about being able to pipe chrome directly into the server's source code, and "Hot edit" it. That is to say, changes to the code immediately take effect and the server keeps runnings.

I hope that I am being clear.

It would be a real time saver to directly edit code (especially for small things) while the server is actually running and have it instantly take effect.

Does anyone know how to do this?

See my answer to my own question that answers this question: http://stackoverflow.com/a/11157223/813718

In short, there's a npm module named forever which does what you want. It can monitor the source files and restart the node instance when a change has been detected.

I do not quite understand the pipe-to-chrome part... But there seems to be a node module which listens to changes of userdefined files and restarts the server automatically:

How can I edit on my server files without restarting nodejs when i want to see the changes?

https://github.com/isaacs/node-supervisor