Commit Graph

23 Commits

Author SHA1 Message Date
Remy Sharp
b70b81612c Removed script, exec, ext from options
This commit removes the duplication that happened at the options and options.execOptions level. Now all exec related information lives in options.execOptions.

I've updated all the references and tests that referred to things like options.script, etc.

This also fixes the (new) bug with exec argments not being placed in the right position when the script is detected via a package (so it reads `node --debug app.js` - this is resolved in command.js (due to the flattening of the config).

I've also fixed a few tests that said they were passing, but actually should have failed (but didn't because I was mocking too much of the code).
2015-01-03 15:35:11 +00:00
Remy Sharp
449a822d7d fixing test with fixed parser 2015-01-02 11:49:09 +00:00
Remy Sharp
93113c9d70 Better tests for scripts with spaces 2014-12-08 18:31:25 +00:00
Remy Sharp
a34a47bfba Text tweaks 2014-05-28 12:49:11 +01:00
Remy Sharp
c4a7e071b1 Adding support for package.scripts.start
Ref #330
2014-05-28 12:46:56 +01:00
Remy Sharp
614f49cc8c Merge pull request #282 from remy/fix/274
Fix/274
2014-01-27 07:26:11 -08:00
Remy Sharp
a5db9a6347 Fix #274. If app found in package, append to end of cmd 2014-01-27 15:09:46 +00:00
Justin G
9fb17beb9b Implement tests for supported --delay argument values as integer, float, and time specifiers 2014-01-22 17:18:05 -06: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
4bd624be7d Tests for all the help examples 2014-01-16 23:16:21 +00:00
Remy Sharp
f636bc16f5 execMap uses script ext to lookup. Fixes #265
+ tests
2014-01-16 22:52:39 +00:00
Remy Sharp
483e70283e Pass non-nodemon args *in order* to exec. Fixes #263 2014-01-15 14:11:56 +00:00
Remy Sharp
727e2cc853 Better nodemon cli slurping.
Now (like 0.x nodemon) nodemon will look for it's arguments in all the cli args - including *after* the user script. But additionally, if the user uses the `--` flag, nodemon will stop eating arguments, and pass them all to the user script.
2014-01-09 12:42:13 +00:00
Remy Sharp
df6219c897 Making nodemon options consistent with CLI args 2014-01-09 12:41:30 +00:00
sainaen
65a313d1b6 Add support of --harmony* flags passing to node 2013-12-30 11:52:13 +00:00
Remy Sharp
9ef2ccdd45 more coffeescript windows support 2013-12-15 14:17:40 +00:00
Remy Sharp
c5ca0253be More coffeescript tests passing on windows 2013-12-15 14:15:33 +00:00
Remy Sharp
3f9a0034d0 Better coverage of cli/parse lib 2013-12-11 16:18:06 +00:00
Remy Sharp
4f5593d439 Fix nodemon.config.required flag, and expose config
For when nodemon is required in to projects like grunt.
2013-12-11 16:17:26 +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
5293f08740 fixed parse test expectation 2013-08-07 23:51:53 +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