Commit Graph

45 Commits

Author SHA1 Message Date
Remy Sharp
03ef996d29 chore: Merge branch 'fix/package-start-with-env' 2015-09-19 10:25:50 +01:00
Kevin Woo
cde21fb4de test: added dotfile tests 2015-09-15 21:46:36 -07:00
Remy Sharp
5e07bfef85 fix: supporting env values in package.start
Before it was trying to parse the value in .start, when in fact, the entire value represents the `cmd`.

Fixes #621
Fixes #615
Fixes #577
Fixes #513
2015-09-12 22:51:02 +01:00
Remy Sharp
b0fd56f7de refactor: move watch out in favour of chokidar
Plus jscs clean ups
2015-08-31 18:25:55 +01:00
Samuel Reed
15751fe432 Fix nodemon.json's 'quit' listener and add test. 2015-03-02 18:44:21 +07: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
1f002f61d3 Blinking nodemon.json file was missing from git! 2015-01-16 21:56:49 +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
9651ab88b0 Escape exec *args* only if space
This matches npm's functionality. It's also been tested against the "some\"file" test, etc. It's hard too...and late.
2015-01-14 22:45:45 +00:00
Remy Sharp
8d08b183a1 Fixed nodemon require reset fully
And related events test
2015-01-07 21:45:14 +00:00
Remy Sharp
d7d484e7f9 Few tests 2015-01-01 20:49:57 +00:00
Remy Sharp
ca22d8d835 Merge branch 'master' into feature/pre-post-events 2014-12-09 15:01:07 +00:00
Remy Sharp
80e8f7598f Early testing for event tests 2014-12-09 11:09:29 +00:00
Remy Sharp
93113c9d70 Better tests for scripts with spaces 2014-12-08 18:31:25 +00:00
Remy Sharp
7db0453349 Merge branch 'fail-start-script-overruling-nodemonjson' of https://github.com/novemberborn/nodemon into novemberborn-fail-start-script-overruling-nodemonjson 2014-12-05 15:23:59 +00:00
Remy Sharp
96d7b4295f remove logging in fixtures 2014-12-05 11:31:42 +00:00
Remy Sharp
21d52d0045 Initial test to read watch count 2014-12-05 09:48:52 +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
Mark Wubben
37491255c0 add breaking test for package.scripts.start overruling nodemon.json 2014-12-04 17:18:35 +00:00
Remy Sharp
77160f4593 Packages for testing package.scripts support 2014-05-28 12:48:04 +01:00
Remy Sharp
b4e45348aa Fix #336. Relative paths are resolved in rules. 2014-05-12 17:39:18 +01:00
Remy Sharp
38b349fbb8 Attempting to replicate bug 2014-01-27 17:10:10 +00: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
6a312a3a77 Relative path tests 2014-01-17 22:37:51 +00:00
Remy Sharp
ea5e925716 Patch to fix directory/* being ignored in ignore rule 2014-01-17 17:54:36 +00:00
Remy Sharp
bfc4ac1c4d Required nodemon accepts env to pass to spawned process
See https://github.com/ChrisWren/grunt-nodemon/pull/29 for example/request
2014-01-15 14:07:36 +00:00
Remy Sharp
a5f81bd883 Fixed old nodemon ignore file support 2014-01-05 14:59:58 +00:00
Remy Sharp
30a4a192f5 Docs and 1.0.0 release. Whoop whoop! 2013-12-29 22:50:02 +00:00
Remy Sharp
b4b3d90c61 fixtures for legacy nodemonignore files 2013-12-11 15:16:17 +00:00
Remy Sharp
999f87eeda Support for execMap #195 and tests 2013-12-10 13:29:35 +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
48855d051f More test coverage 2013-12-05 16:29:58 +00:00
Remy Sharp
90f3bcd891 Test help 2013-12-05 09:45:53 +00:00
Remy Sharp
59e0135eb5 More test off of lib 2013-12-03 13:37:40 +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
cc44b58641 Fixed extension watching and fixed perf bug in check
Needs careful testing in linux and windows.

Also fixed #204 but requires config file to set `restartable` to false, since there's so many options to configure stdin and this particular case has narrow use.
2013-10-31 00:25:36 +00:00
Remy Sharp
9a86e7bfff Fixed cli parser so that it add watch, ignore, etc 2013-10-29 18:33:24 +00:00
Remy Sharp
9fd778e355 Tests pass. Using process.emit('nodemon:*'), nodemon starts and triggered restart 2013-08-19 22:26:52 +01:00
Remy Sharp
56663f5ab4 Trying to simplify the chain of nodemon process
Making it so lib/cli/ can just spew out options, and make it easier to test against too.
2013-08-07 23:15:41 +01:00
Remy Sharp
c5f2bee160 Testing the exec rules and the parser
Still lots to do, but taking a very code, test, code, test, test, test, code, test cycle.
2013-08-05 22:55:12 +01:00
Remy Sharp
3efca971fd Argument parsing, and executable support and tests
Includes simple passing tests, the exec.js has not been tested in detail yet.
2013-08-05 00:11:30 +01:00
Remy Sharp
1708d14a79 initial tests for rules 2013-08-02 09:59:41 +01:00
ChrisWren
b8d5acc51c moved server test fixtures into fixture folder 2013-05-09 18:06:49 -07:00