Dominykas Blyžė
35b86a92e1
test: increase timeout between writing files and starting nodemon
...
It seems that the filesystem events for creating the files get delayed somehow and arrive after nodemon has started - increasing the timeout prevents a restart before we've actually modified the file
2017-12-20 14:08:53 +00:00
Dominykas Blyžė
b326b4648a
test: unlink tmp files after each test
2017-12-20 14:08:53 +00:00
Dominykas Blyžė
c5bf96c051
test: always wait for nodemon.reset() to complete in teardown
2017-12-20 14:08:53 +00:00
Dominykas Blyžė
70a2ec7f3d
test: use unlinkSync; validate file exists before unlinking
...
Sometimes tests fail because the file does not exist (it was possibly not created due to unrelated failure?); Async unlinking might also be causing unnecessary restarts (sometimes test fail with "`done` called twice")
2017-12-20 14:08:53 +00:00
Dominykas Blyžė
84ec156ed0
test: fix hanging test
2017-12-20 14:08:53 +00:00
Tim
f711fb7889
test: fork child node processes
2017-12-06 14:45:10 -08:00
Remy Sharp
6d57dac0ee
fix: bump deps and fix tests for local dev ( #1139 )
...
Upgraded tests for node 8
2017-12-04 14:56:44 +00:00
Mark Wubben
12b8935232
test: should not match dotfiles unless asked
2016-02-25 21:08:44 +00:00
Mark Wubben
3d19aee29f
test: watcher shouldn't crash if ignoreRoot is []
2016-02-25 21:08:44 +00:00
Remy Sharp
e4412268c4
fix: restart on new files added to watched dir
...
Fixes #664
Also includes tests and quietens the force crash test (though unchanged).
2015-10-19 12:27:54 +01:00
Remy Sharp
3265e92b62
test: fix bad runOnChangeOnly test
2015-10-19 12:27:54 +01:00
Remy Sharp
489f22dc93
fix: restore --legacy-watch
...
Pass the `usePolling` flag to Chokidar when in legacy mode, which is supposed to/hopefully fix containers watching network attached drives.
Fixes #639
Fixes #633
2015-09-19 08:20:39 +01:00
Kevin Woo
cde21fb4de
test: added dotfile tests
2015-09-15 21:46:36 -07:00
Remy Sharp
f7a94768f6
refactor: add debugging
2015-09-10 10:38:32 +01:00
Remy Sharp
7496f08330
fix: incorrectly exiting when required
...
test: updated travis tests
2015-09-09 22:29:26 +01:00
Chris Khoo
50f5994ee6
change --no-startup to --on-change-only
2015-07-20 18:40:45 -07:00
Chris Khoo
db196733b7
add option --no-startup to not run command on startup
2015-07-05 16:19:11 -07:00
Jim Anders
22aa5146f3
spawn: Change node version checking logic
...
This change allows nodemon to properly work with all versions of io.js.
This fixes #509
2015-04-16 09:32:45 -04:00
Remy Sharp
2445e0ea48
Merge pull request #501 from remy/fix/352
...
Fix #352 [skip ci]
2015-02-11 10:02:02 +00:00
Remy Sharp
a385973ea9
Fixed test failing due to mocked config
2015-02-11 09:56:41 +00:00
Hugo Wood
cec986d4ba
Add a failing test demonstrating #482
2015-02-01 23:49:42 +01:00
Remy Sharp
e3faa34c7f
more info in failed tests
2015-01-02 13:06:13 +00:00
Remy Sharp
aa76dafd35
Fixing tests to work in different envs
2015-01-02 13:02:00 +00:00
Remy Sharp
9d4c23cf4a
Verbose test failure logging
2014-12-05 11:37:28 +00:00
Remy Sharp
785de296e4
Merge branch 'master' of https://github.com/rosshettel/nodemon into rosshettel-master
2014-12-05 11:17:55 +00:00
Remy Sharp
62757d2edc
Pushing failing test
...
Trying out on linux platform - expecting a failed test
2014-12-05 10:10:52 +00:00
Remy Sharp
21d52d0045
Initial test to read watch count
2014-12-05 09:48:52 +00:00
Ross Hettel
c399e74a6f
added more unit tests to match logic
2014-07-31 14:53:55 -05:00
Ross Hettel
4631a01a3d
ignore rules take priority in sorting
2014-07-21 16:28:20 -05:00
Michael Heuberger
c4e263ed37
expose streams for piping (mh)
2014-06-04 02:49:24 +12:00
Remy Sharp
b4e45348aa
Fix #336 . Relative paths are resolved in rules.
2014-05-12 17:39:18 +01:00
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