24 Commits

Author SHA1 Message Date
Remy Sharp
ee92ee470b test: split require tests 2020-04-08 17:55:50 +01:00
Aaron Jensen
521eb1e49d fix: restart on change for non-default signals (#1409) (#1430)
Fixes #1409
2018-11-05 11:23:14 +00:00
Remy Sharp
0b13116551 refactor: allow dev use of nodemon to show githash
Rather than an arbitrary version string - this will only happen when cloned from git, rather than an npm install. This is entirely for debugging.
2015-10-19 12:27:53 +01:00
Remy Sharp
6eaf5111ea test: fix version test with semantic release 2015-09-11 23:33:25 +01:00
Remy Sharp
7496f08330 fix: incorrectly exiting when required
test: updated travis tests
2015-09-09 22:29:26 +01:00
Remy Sharp
ce0b5bc9cc Only discover exec from package if no script
Full tests need to run to work out if this is okay to merge, but the logic is that we only go to the package.json for an executable IIF there's no script. If there's a script, then we shouldn't need to discover anything and we'll let the logic fall through the usual path (and usually default to node).
2015-01-20 14:13:25 +00:00
Remy Sharp
51f825d341 Add test to check if passed opts are priority
Currently failing due to bug in code - THIS IS MY PLAN!
2015-01-20 14:08:11 +00: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
aa76dafd35 Fixing tests to work in different envs 2015-01-02 13:02:00 +00:00
Remy Sharp
30a0603744 nodemon api support array for exec + tests 2014-12-09 11:25:37 +00:00
Remy Sharp
96bd4b3e79 Fixed tests on Mac
Specifically race conditions where the child process was being left running still
2014-12-04 22:07:34 +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
e92d29316f Fixed default ignore rule overriding all 2014-01-02 18:17:26 +00:00
Remy Sharp
86d32281ce Passing all tests on linux 2013-12-14 20:20:27 +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
c7d18c01f9 Fix require test. Reset event state after complete 2013-12-12 12:46:43 +00:00
Remy Sharp
36e779d830 Testing required restart 2013-12-12 12:10:16 +00:00
Remy Sharp
ad0eba36aa Required nodemon, upon quit, correctly unwatches files 2013-12-12 11:44:59 +00:00
Remy Sharp
fe27740863 Re-introducing require tests 2013-12-11 16:18:21 +00:00
Remy Sharp
48855d051f More test coverage 2013-12-05 16:29:58 +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
3e000fa299 Removed redundant test 2013-12-03 23:25:33 +00:00
Remy Sharp
59e0135eb5 More test off of lib 2013-12-03 13:37:40 +00:00