Remy Sharp
2a2f1260e4
If no script, default is null, not -1. Fixes #265
...
Includes test and exposing the command run for debugging.
2014-01-21 07:57:27 +00:00
Remy Sharp
b6b98716a1
Quiet option wasn't working.
2014-01-17 23:37:12 +00:00
Remy Sharp
965446cc45
If mac, only use find on --watch directories
2014-01-15 14:13:46 +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
08c758f884
Rule matching tested and passing
2014-01-05 00:45:38 +00:00
Remy Sharp
f3e76157d2
Tweaking how watching works
...
Fixed nodemon to echo out what's being watched in the regexp instead of the config.dir path.
Also allowing patterns on the "watch" config setting, rather than just paths.
Removed useless test (that kept failing...incorrectly).
2014-01-03 14:20:46 +00:00
Remy Sharp
30a4a192f5
Docs and 1.0.0 release. Whoop whoop!
2013-12-29 22:50:02 +00:00
Remy Sharp
ab464021df
78 tests passing on mac.
2013-12-29 20:26:28 +00:00
Remy Sharp
96cd53cc94
Windows support, note to self: path.sep
2013-12-15 14:29:53 +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
4785409a79
tweaks to copy
2013-12-05 16:30:13 +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
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
2909a17a8f
First tests to ensure nodemon is actually restarting correctly
2013-11-14 14:09:14 +00:00
Remy Sharp
817e2269dc
Custom merge with tests
...
Also fixes missing values in config
2013-10-30 19:43:20 +00:00