Did you try node-dev first?  You don't tell it anything.  You just run node
and it parses the source code file to find all the require statements and
watches the exact files needed. I have used it for a year and it just works.

On Fri, Jul 20, 2012 at 7:35 AM, Ted Young <[email protected]> wrote:

> Heyo,
>
> dev_mode is a small utility I've found handy when developing node and
> rails site.  Give it a list of files and directories to watch, and a set of
> processes to restart, and it will restart everything on a file change.
>  dev_mode pipes all of the process outputs to a single console, with
> different prompts, which I find helpful.
>
> http://github.com/tedsuo/dev_mode
>
> the config file is somewhat self explanatory:
> https://github.com/tedsuo/dev_mode/blob/master/example_dev_mode_config.js
>
> I'm sure plenty of people have something like this kicking around, but I
> thought it would be nice to build a "feature complete" one that was robust.
>  If it's lacking a feature you would like, please open an issue, or create
> a pull request.
>
> cheers,
> Ted
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to