Commit Graph

35 Commits

Author SHA1 Message Date
Remy Sharp
4785409a79 tweaks to copy 2013-12-05 16:30:13 +00:00
Remy Sharp
80fbacaa7a unsure whether exit.js was ever used 2013-12-05 09:46:39 +00:00
Remy Sharp
90f3bcd891 Test help 2013-12-05 09:45:53 +00:00
Remy Sharp
d092d71775 Ignore .git & node_modules/**/node_modules by default. Closes #230
Also linting, tests and cleaned up filename that's echoed triggering the change
2013-12-05 00:12:24 +00:00
Remy Sharp
ae184b73e6 Passing tests on linux 2013-12-04 12:45:47 +00:00
Remy Sharp
9853e089b4 Fixed #118 plus a bunch of jshint fixes 2013-12-04 12:31:37 +00:00
Remy Sharp
61572250db Start initial watch right away - fixes timing issues in tests 2013-12-03 23:23:40 +00:00
Remy Sharp
ccb050b227 Copy across fix #228 2013-12-03 13:40:06 +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
bbe66320c5 merge up 2013-11-25 01:08:48 +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
a7fe84f12b Legacy mode working again and Vagrant working ok 2013-11-20 21:09:17 +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
f6887c9f31 making main based off the module, not the "binary" 2013-11-12 20:13:50 +00:00
Remy Sharp
c7f50160e2 Only reset search time /after/ file changes detected 2013-10-31 19:46:30 +00:00
Remy Sharp
0b0d31c37b Got the logic in reverse with config merge 2013-10-31 00:35:21 +00:00
Remy Sharp
cc44b58641 Fixed extension watching and fixed perf bug in check
Needs careful testing in linux and windows.

Also fixed #204 but requires config file to set `restartable` to false, since there's so many options to configure stdin and this particular case has narrow use.
2013-10-31 00:25:36 +00:00
Remy Sharp
81eb5effa5 Fixed nodemnon . and nodemon.json loaded before flags set 2013-10-30 20:14:37 +00:00
Remy Sharp
817e2269dc Custom merge with tests
Also fixes missing values in config
2013-10-30 19:43:20 +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
ed040edcee node 0.6 compat 2013-10-29 18:46:14 +00:00
Remy Sharp
69c71473a8 removed colors dep 2013-10-29 18:44:00 +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
b2a43283ee Using odd version to flag dev release 2013-10-27 09:16:51 +00:00
Remy Sharp
9cb84a8951 Add node 0.6 to tests 2013-10-27 09:15:38 +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
Remy Sharp
56663f5ab4 Trying to simplify the chain of nodemon process
Making it so lib/cli/ can just spew out options, and make it easier to test against too.
2013-08-07 23:15:41 +01:00
Remy Sharp
c5f2bee160 Testing the exec rules and the parser
Still lots to do, but taking a very code, test, code, test, test, test, code, test cycle.
2013-08-05 22:55:12 +01:00
Remy Sharp
3efca971fd Argument parsing, and executable support and tests
Includes simple passing tests, the exec.js has not been tested in detail yet.
2013-08-05 00:11:30 +01:00
Remy Sharp
1708d14a79 initial tests for rules 2013-08-02 09:59:41 +01:00
Remy Sharp
5da131dc03 starting the complete rewrite of nodemon in to tiny testable modules 2013-08-01 13:55:23 +01:00