Commit Graph

39 Commits

Author SHA1 Message Date
Remy Sharp
641eb96cf5 -w <single file> ignores extension filter
Fixes #299 and fixes #308.

This means if you use nodemon to monitor a .js script, but explicitly watch another file (that isn't .js) then nodemon *will* restart as expected.
2014-03-19 15:33:35 +00:00
Remy Sharp
85feec55d4 Merge pull request #307 from remy/fix/273
Fixed #273
2014-03-11 16:39:34 +00:00
Remy Sharp
b9d0cb6ca3 typo in chdir 2014-03-11 14:44:40 +00:00
Remy Sharp
b164becbaa New test 2014-02-18 20:40:32 +00:00
Remy Sharp
38b349fbb8 Attempting to replicate bug 2014-01-27 17:10:10 +00:00
Remy Sharp
400f5bc69b Fixed #281. Can now watch with . and .* 2014-01-27 16:12:54 +00:00
Remy Sharp
34cb3a10fb Fixed #268 relative paths on watches now work 2014-01-17 22:37:23 +00:00
Remy Sharp
ea5e925716 Patch to fix directory/* being ignored in ignore rule 2014-01-17 17:54:36 +00:00
Remy Sharp
9b3b5099c7 If nodemon is required, respect SIGINT, and fricking quit already! 2014-01-09 13:10:07 +00:00
Remy Sharp
589dffcc42 Watch lib/*.* ignores the extension check. Closes #255 2014-01-06 15:34:43 +00:00
Remy Sharp
c78bcb9faa Documentation of required nodemon 2014-01-05 22:59:23 +00:00
Remy Sharp
a5f81bd883 Fixed old nodemon ignore file support 2014-01-05 14:59:58 +00:00
Remy Sharp
a55ca022f8 Merge branch 'fix/241' of github.com:remy/nodemon into fix/241 2014-01-05 14:32:14 +00:00
Remy Sharp
ab549a1e85 All tests passing (damn race conditions) 2014-01-05 10:16:39 +00:00
Remy Sharp
0945ee92cd merge fixes 2014-01-05 01:47:11 +00:00
Remy Sharp
13770da9f3 Fixed nodemon.once. Add config.run. Tests not 100% passing
Something weird is happening with required nodemon and re-running lots of times, that somehow resets the config. I know it's due to my tests, but I'm unsure which one is actually causing the damn issue. Anyway, bed for me, it's almost 2am. Sod this for a game of cricket.
2014-01-05 01:42:37 +00:00
Remy Sharp
8eef00b334 Add new tests for match code and updated for monitor format. 2014-01-05 00:44:56 +00:00
Remy Sharp
e92d29316f Fixed default ignore rule overriding all 2014-01-02 18:17:26 +00:00
Remy Sharp
ab464021df 78 tests passing on mac. 2013-12-29 20:26:28 +00:00
Remy Sharp
2dc197acb7 fixed watching multiple extensions 2013-12-20 22:54:23 +00:00
Remy Sharp
86d32281ce Passing all tests on linux 2013-12-14 20:20:27 +00:00
Remy Sharp
5c7af6bfc4 More tests. 79% code coverage + more docs
- Events documented
- Require working nicely
- If nodemon is required, nodemon message are emitted rather than console.log'ged
2013-12-14 00:57:41 +00:00
Remy Sharp
21acd841d6 MOAR test coverage. 71% - good enough for 1.0.0 release 2013-12-12 16:51:59 +00:00
Remy Sharp
dad51cfcff Simplified ignore test (was true twice on mac) 2013-12-10 12:57:45 +00:00
Remy Sharp
ffe5a55fd5 Fixed test to check ignore rules 2013-12-10 12:51:38 +00:00
Remy Sharp
abc27cd5ca Correct signal passing. Fixes #232.
Also more linting, tweaks to FAQ & contributing and added .jshint file.

Also adds test for signal test (though needs mocha to timeout at 15 seconds!)
2013-12-10 00:06:25 +00:00
Remy Sharp
c5a5c88af7 tweaking numbers to test travis 2013-12-05 22:31:40 +00:00
Remy Sharp
48855d051f More test coverage 2013-12-05 16:29:58 +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
e777deaf52 jshint cleaning 2013-12-04 12:35:03 +00:00
Remy Sharp
9853e089b4 Fixed #118 plus a bunch of jshint fixes 2013-12-04 12:31:37 +00:00
Remy Sharp
c8d59ff466 Removes support for node 0.6 in nodemon 0.9.x and upwards 2013-12-03 23:54:14 +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
21ba61476b trying to get nodemon start tests to pass on linux - problems with fs.watch + touch 2013-11-20 22:07:44 +00:00
Remy Sharp
eef9efc7df Capture error on simple running 2013-11-20 20:38:04 +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