Commit Graph

787 Commits

Author SHA1 Message Date
Remy Sharp
b0fd56f7de refactor: move watch out in favour of chokidar
Plus jscs clean ups
2015-08-31 18:25:55 +01:00
Remy Sharp
2e56d8404e 1.4.1 v1.4.1 2015-08-12 09:32:56 +01:00
Remy Sharp
bec80afd88 Merge pull request #591 from JoaoHenriquePereira/support/bump-touch-dependency
fix: Bump node-touch to 1.0.0
2015-08-12 09:32:37 +01:00
Remy Sharp
6152786ba2 1.4.0 v1.4.0 2015-07-27 21:44:32 +01:00
Remy Sharp
e177dd7865 Merge pull request #578 from khoomeister/ck-disable-startup
add option --no-startup to not run command on startup
2015-07-27 21:44:05 +01:00
Remy Sharp
cfd5c8e575 Merge pull request #595 from claydotio/master
monitor: always exit, fixes #592
2015-07-27 21:43:11 +01:00
Zolmeister
e89786388c monitor: always exit, fixes #592 2015-07-26 00:57:13 -07:00
Joao Madeiras
5ec6101e78 bump node-touch to 1.0.0 2015-07-21 14:57:33 +01:00
Remy Sharp
53b2ab321b chore: disable sudo on travis tests 2015-07-21 10:15:24 +01:00
Chris Khoo
50f5994ee6 change --no-startup to --on-change-only 2015-07-20 18:40:45 -07:00
Remy Sharp
698dc26aac 1.3.8 v1.3.8 2015-07-20 22:03:31 +01:00
Remy Sharp
4de7033898 Merge pull request #585 from halt-hammerzeit/fix_watch_interval
Fixes watch interval
2015-07-20 21:35:27 +01:00
Remy Sharp
6277f178b4 Merge pull request #568 from matanshukry/master
nodemon doesn't restart on changes - watch test failure
2015-07-20 20:49:20 +01:00
Nikolay Kuchumov
8eefdd0d00 Fixes watch interval 2015-07-11 20:06:54 +03:00
Chris Khoo
db196733b7 add option --no-startup to not run command on startup 2015-07-05 16:19:11 -07:00
Matan Shukry
abd3e27a24 Added closeSync() to trigger watch 2015-06-13 20:14:57 +03:00
Remy Sharp
01bc4d0ba1 Merge pull request #515 from STRML/fixQuit
Fix nodemon.json's 'quit' listener and add test.
2015-05-19 13:28:22 +01:00
Remy Sharp
27c7412622 Merge pull request #536 from mortonfox/patch-1
Fix CoffeeScript link. [skip ci]
2015-05-19 13:15:24 +01:00
Remy Sharp
9254e470ce Merge pull request #534 from janders223/bug-509
spawn: Change node version checking logic
2015-05-19 13:15:02 +01:00
Remy Sharp
d6bb64dfef Merge pull request #539 from dpatti/coffeescript-exec-args
Fix running coffee scripts with application --args
2015-05-19 13:14:25 +01:00
Remy Sharp
c0f7a66aee Merge pull request #553 from pgilad/patch-1
update license attribute [skip ci]
2015-05-19 13:13:20 +01:00
Gilad Peleg
1e955b7a38 update license attribute
specifying the type and URL is deprecated:

https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
2015-05-19 13:53:13 +03:00
Doug Patti
56c4caf2ed pull command stringification into a utility
This was copied and pasted more than a handful of times around the
library and tests. Some implementations were more naive and did not
try to add quotes if there are spaces within a single argument.

There is one slight oddity in one of the cli parse tests. Stringifying
the command causes many of the arguments to show up in quotes when they
probably shouldn't. This seems to trace back to a deep problem related
to how commands are pulled out of package.scripts.start and is out of
scope for this patch. Even though the test might look incorrect now, it
is an accurate reflection of what the generated command is.
2015-04-22 13:42:55 -04:00
Doug Patti
a71db72ece when running a coffee file, use --nodejs correctly
Previously, the --nodejs flag was being prepended if you had any
arguments prefixed with '--', even if they were intended for your
application. There is an additional problem where arguments intended for
node js need to be grouped into a single argument passed after --nodejs.

After this patch, any flag before your script is considered a nodejs
argument. These, along with any other exec arguments are bundled into a
single argument separated by spaces.

Fixes #530
2015-04-22 13:42:52 -04:00
Doug Patti
55320b7d85 test to demonstrate coffee issue with --args
If you try to run nodemon with a coffee file script and pass an
argument to your application, it is instead adding a --nodejs when there
are no node flags to pass along. This causes the command to fail because
the script name is now passed as a flag to node.

Repro:

  nodemon script.coffee --my-argument

Expected:

  coffee script.coffee --my-argument

Actual:

  coffee --nodejs script.coffee --my-argument

Related to #530
2015-04-22 13:39:38 -04:00
Morton Fox
82ae44ce8f Fix CoffeeScript link. 2015-04-16 22:27:15 -04: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
1f01aaaa7a Merge pull request #526 from nwinkler/faq-format
Fixed formatting of FAQ entry. [skip ci]
2015-03-18 05:51:17 +00:00
Nils Winkler
2827270f80 Fixed formatting of FAQ entry.
Something was wrong with the first code example in the forever entry.
2015-03-17 08:53:19 +01:00
Remy Sharp
026b4916c5 Merge pull request #525 from nwinkler/faq-forever
Updated FAQ `forever` entry. [skip ci]
2015-03-17 07:38:30 +00:00
Nils Winkler
94c6e2fc73 Updated FAQ forever entry.
This closes #523.
2015-03-17 08:24:24 +01:00
Samuel Reed
15751fe432 Fix nodemon.json's 'quit' listener and add test. 2015-03-02 18:44:21 +07:00
Remy Sharp
dd6ad0d879 Pronunciation
[skip ci]
2015-02-24 20:47:25 +00:00
Remy Sharp
ceb53ce403 1.3.7 v1.3.7 2015-02-11 16:21:10 +00:00
Remy Sharp
05f4e1bd36 Merge pull request #503 from remy/fix/497
Fix the pattern match for windows escaping [skip ci]
2015-02-11 15:10:49 +00:00
Remy Sharp
47896d9254 Fix the pattern match for windows escaping
Fixes #497
2015-02-11 15:04:31 +00:00
Remy Sharp
d984c473a2 Merge pull request #502 from remy/fix/node-0-12
Fixed #499 [skip ci]
2015-02-11 12:32:17 +00:00
Remy Sharp
10ed83ea21 Fixed #499
`rs` now works again on windows when app has crashed.
2015-02-11 12:16:16 +00: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
8109984042 Add node 0.12.x to travis tests 2015-02-11 10:01:22 +00:00
Remy Sharp
a385973ea9 Fixed test failing due to mocked config 2015-02-11 09:56:41 +00:00
Remy Sharp
7e6fe7c945 Fixes #352
The find method wasn't known when it tries to add the directories to monitor. This change fixes that
2015-02-10 19:22:40 +00:00
Remy Sharp
cd5b160fe3 Merge pull request #492 from hgwood/fix/482
Fix/482
2015-02-10 19:08:25 +00:00
Hugo Wood
5ab82aa31b Fixed #482 2015-02-01 23:49:42 +01:00
Hugo Wood
cec986d4ba Add a failing test demonstrating #482 2015-02-01 23:49:42 +01:00
Remy Sharp
d939f64546 Link to npm
[skip ci]
2015-02-01 16:06:31 +00:00
Remy Sharp
53587d7380 1.3.6 v1.3.6 2015-02-01 16:05:29 +00:00
Remy Sharp
b110cb67a7 Merge pull request #491 from remy/fix/489-simplify-exec
Remove the need for execArgs when user specifying an exec
2015-02-01 16:05:07 +00:00
Remy Sharp
d796e41120 Remove the need for execArgs when user specifying an exec
- Also update tests to check end value, not individual parts
- Simplify tests to check actual output, rather than the pieces that make the output
- Remove redundant code: such a shame, it was cool code, but I'd rather remove it for simplicity and better support. Woot.
2015-02-01 15:59:49 +00:00
Remy Sharp
8ee71f4157 1.3.5 v1.3.5 2015-01-28 15:13:19 +00:00