Commit Graph

44 Commits

Author SHA1 Message Date
Remy Sharp
21e052eddf fix: upgrade pstree to remove vulnerability
Fixes #1463
Fixes #1469
Fixes #1464 

Completely removes the old method of `pstree[.remy]` and drops the event-stream vuln at the same time.
2018-11-27 08:45:11 +00:00
Damián Nohales
e7d9e87955 test: only run run-mac-only.test.js in darwin platform 2018-08-29 18:47:51 +01:00
Remy Sharp
0f39b2e349 fix: make it possible for windows to checkout (#1270)
Fixes #1255
2018-02-27 16:43:09 +00:00
Remy Sharp
e90f15aa8a fix: node < 6.4.0 causing crash on 'rs' trigger
* fix: node < 6.4.0 can't connect to stdin
* fix: child stdio when spawn is similar to fork

Fixes #1218
2018-01-09 13:18:08 +00:00
Dominykas Blyžė
b326b4648a test: unlink tmp files after each test 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
Remy Sharp
b875ffc9c0 test: clean string for trigger check 2015-10-19 12:27:53 +01:00
Remy Sharp
fb8580c806 test: fix searching for nodemon message 2015-10-19 12:27:53 +01:00
Remy Sharp
37755457b6 chore: travis faff 2015-10-19 12:27:52 +01:00
Remy Sharp
e8f6d296dc chore: exposure on what is failing in travis 2015-09-19 10:32:37 +01:00
Remy Sharp
7496f08330 fix: incorrectly exiting when required
test: updated travis tests
2015-09-09 22:29:26 +01:00
Remy Sharp
5016a38b0a Fixed crazy restart loop
Ensure we don't restart when the last find was 0 seconds ago
2015-01-19 17:07:17 +00:00
Remy Sharp
be9e38fa7d Travis tests: use regex for num changes 2015-01-16 23:05:28 +00:00
Remy Sharp
56fbf4db22 Unsure if we're matching a num or not... 2015-01-16 22:21:03 +00:00
Remy Sharp
d10fe4e2be trim test output 2015-01-16 17:44:12 +00:00
Remy Sharp
bac129079a Fix broken regexp
> nodemon fork monitor should restart on .js file changes with no arguments
2015-01-16 16:16:40 +00:00
Remy Sharp
89f0dd32e1 Trying to fix test that randomly breaks 2015-01-16 10:19:40 +00:00
Remy Sharp
3b8cea480a Fixing tests
- Make scripts output expected content (rather than the bash user!)
- Reduce noise
- Ensure the exec it quoted appropriately
2015-01-16 09:49:15 +00:00
Remy Sharp
299b1a698a Merge branch 'master' into fix/exec-escapes 2015-01-16 09:40:59 +00:00
Remy Sharp
aa9d9d8684 typo 2015-01-16 09:32:56 +00:00
Remy Sharp
86821bf6b2 more test output 2015-01-16 09:30:32 +00:00
Remy Sharp
0f4ff3ffb4 Ditch trottle for debouce & fix tests 2015-01-09 21:05:36 +00:00
Edgar Hipp
308f71ac3a updating files to match nodemons syntax style 2015-01-06 12:23:08 +01:00
Edgar Hipp
e31a514cab added test for delay option 2015-01-06 10:48:06 +01:00
Remy Sharp
aa76dafd35 Fixing tests to work in different envs 2015-01-02 13:02:00 +00:00
Remy Sharp
d7d484e7f9 Few tests 2015-01-01 20:49:57 +00:00
Remy Sharp
142f6635b4 Increase test timeout 2014-12-09 13:12:55 +00:00
Remy Sharp
69d6ed151d Remove verbose messaging in test 2014-12-08 19:05:26 +00:00
Remy Sharp
93113c9d70 Better tests for scripts with spaces 2014-12-08 18:31:25 +00:00
Remy Sharp
d97d92f65b Tweak output of tests to see what's failing 2014-12-05 22:44:40 +00:00
remy
cbfb0f9496 When watching, ignore flag file 2014-12-04 07:52:19 -05:00
remy
b7a5867706 Fixed concurrent test situation
Where a flag file is left over causing a false negative on one of the tests
2014-12-04 06:18:03 -05:00
Remy Sharp
a398a97fc3 Removed fork tree test - see comments 2014-12-02 14:59:13 +00:00
Remy Sharp
3ce57bc8fe Test failed because "debug" => "Debug" 2014-05-13 07:54:42 +01:00
Remy Sharp
4d1dc59ce0 Tests for subtree nukage. 2014-05-13 00:04:04 +01:00
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
1d7de9c31f Passes tests again 2014-01-07 22:57:13 +00:00
Remy Sharp
de13b292ec Fixed #252. Windows needs to watchFile to trigger watch... 2014-01-05 12:56:16 -08: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
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
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