Commit Graph

12 Commits

Author SHA1 Message Date
Remy Sharp
61572250db Start initial watch right away - fixes timing issues in tests 2013-12-03 23:23:40 +00:00
Remy Sharp
c503222f30 Refactoring.
* userScript => script
* simplified exec library
* removed dead code in config loading
* nodemon now knows when it's being required (and goes dark)
* etc...
2013-12-03 13:34:40 +00:00
Remy Sharp
d7c3647405 Using event bus for tests and requirable nodmeon
TODO: remove stdout inside tests
2013-11-25 01:04:52 +00:00
Remy Sharp
ed480b624c Allowing 5sec for mocha to run. Also better clean up on test exit 2013-11-14 14:27:20 +00:00
Remy Sharp
2909a17a8f First tests to ensure nodemon is actually restarting correctly 2013-11-14 14:09:14 +00:00
Remy Sharp
81eb5effa5 Fixed nodemnon . and nodemon.json loaded before flags set 2013-10-30 20:14:37 +00:00
Remy Sharp
aceee649f3 Fixed #216. If --exec is used, don't try to detect userScript
Also simplified the exec and arguments logic
2013-10-29 20:02:30 +00:00
Remy Sharp
9a86e7bfff Fixed cli parser so that it add watch, ignore, etc 2013-10-29 18:33:24 +00:00
Remy Sharp
d90fee7a4c Loading .json files, parsing cli & detailed output
- Loads $HOME/nodemon.json
- Then ./nodemon.json
- Then overwrites with cli (or module) settings
- -V gives detail of what's going on inside nodemon
- -q shuts nodemon up entirely
- Cleaner config loading breakup
2013-10-29 13:41:47 +00:00
Remy Sharp
84a461f713 Basic running and restarting working
Also config static module is used by the parts of nodemon to run the thing.

Ignore rules, on the command line also work - a nice new feature.
2013-08-25 09:32:45 +01:00
Remy Sharp
9fd778e355 Tests pass. Using process.emit('nodemon:*'), nodemon starts and triggered restart 2013-08-19 22:26:52 +01:00
Remy Sharp
5d44ebb685 still in progress - lots of file laying out 2013-08-19 21:15:20 +01:00