Commit Graph

1028 Commits

Author SHA1 Message Date
Remy Sharp
ba73c23cab fix: child stdio when spawn is similar to fork 2018-01-09 13:02:42 +00:00
Remy Sharp
13486094ab chore: add missing semver dep in package
Got caught out using node4's npm!
2018-01-09 11:40:41 +00:00
Remy Sharp
a9f0590f0f chore: typo in _spawn => spawn 2018-01-09 11:40:41 +00:00
Remy Sharp
35ef683bf1 fix: node < 6.4.0 can't connect to stdin
Fixes #1218
2018-01-09 11:40:41 +00:00
Remy Sharp
e95ea6f656 fix: ignorePermissionErrors in chokidar
Make any permission errors silent, since it the most likely case we don't need them at all.

Fixes: #1213
v1.14.9
2018-01-08 12:35:06 +00:00
Remy Sharp
c121187611 refactor: indexOf > includes (in node4) 2018-01-08 12:33:51 +00:00
Remy Sharp
8cec0fc0c7 chore: fix linting issue 2018-01-08 12:33:51 +00:00
Remy Sharp
718a9ad2e2 fix: correctly pass ignored rules to chokidar
Previous the rules weren't matching fully inside of chokidar, requiring
that, for instance, node_modules is written as **/node_modules/**.

I've also tidied up what's printed in verbose mode, so it doesn't print
default ignores, and doesn't print the full path of an ignored
directory.

This change _also_ fixes notifications from chokidar from user ignored
paths (using the `cwd` argument). This should fix #1202
2018-01-08 12:33:51 +00:00
Remy Sharp
64a82ff81a fix: fail gracefully if postinstall fails v1.14.8 2018-01-06 09:35:25 +00:00
Remy Sharp
2582d960be fix: clarify which config files are actually used
Fixes #1204
2018-01-06 09:35:16 +00:00
Remy Sharp
8cb26bfe25 refactor: small tweaks to ES6-ish 2018-01-06 09:35:16 +00:00
Remy Sharp
6e7ce4bbe2 fix: swallow child.stdin err
This is a weird case where stdin isn't fully connected and throws in
ubuntu 16.04 (replicated in a Docker image).

Fixes #1195
v1.14.7
2017-12-31 19:47:16 +00:00
Josef Brandl
d78bf3d5d1 fix: watch both js and mjs files if main file is JavaScript v1.14.6 2017-12-29 16:51:17 +00:00
Remy Sharp
0d9a89241c fix: don't use fork with node inspect
Fixes: #1191
v1.14.5
2017-12-29 11:07:04 +00:00
Remy Sharp
de66c6bcea refactor: fix scoping issue in node@4 v1.14.4 2017-12-29 10:55:12 +00:00
Remy Sharp
5a914cb35b fix: handle exit(2) better 2017-12-29 10:55:12 +00:00
Remy Sharp
6333fa5a4c chore: fix linting 2017-12-29 10:55:12 +00:00
Remy Sharp
6e839d4a33 fix: support implicit filename extension
Fixes #1193
2017-12-29 10:55:12 +00:00
Remy Sharp
48048aaf12 fix: properly handle --no-update-notifier 2017-12-29 10:54:59 +00:00
Remy Sharp
c63771726c fix: expose no update flag 2017-12-29 10:54:59 +00:00
Remy Sharp
f711537795 chore: fix linting 2017-12-29 10:54:48 +00:00
Remy Sharp
7a04e2c71f fix: incorrect count of watch files being reported
The number of watched files was correct, but showed (incorrectly) a
cumulative total of watched files (i.e. 1 + 2 + 3 + 4 etc).

Fixes #1194
2017-12-29 10:54:48 +00:00
Remy Sharp
7052648641 docs: add SparkPost for their sponsorship ❤️ 2017-12-28 22:10:05 +00:00
Remy Sharp
369eb11f1c chore: update issue template
[skip ci]
2017-12-26 16:27:44 +00:00
Remy Sharp
0c78a9c7a0 test: remove .only 2017-12-23 08:48:46 +00:00
Remy Sharp
0c3229d77f docs: remove duff link
[skip ci]
2017-12-22 22:52:48 +00:00
Remy Sharp
ad226afc13 fix: ensure non-slurp is passed to script
The `--` argument now passes all arguments after the script (if omitted in the nodemon call), rather than the exec command.

Fixes #750
v1.14.3
2017-12-22 22:34:18 +00:00
Remy Sharp
0bb1eec1a0 chore: merge branch 'master'
* 'master' of github.com:remy/nodemon:
  chore: update new issue template
  chore: add no-response bot
v1.14.2
2017-12-22 15:37:00 +00:00
Remy Sharp
dcd8911e23 fix: stop saying there's another update required! 2017-12-22 15:36:36 +00:00
Remy Sharp
636ae404ce chore: update new issue template
[skip ci]
2017-12-22 14:45:39 +00:00
Remy Sharp
e4cfe9b704 chore: add no-response bot
[skip ci]
2017-12-21 11:55:22 +00:00
Remy Sharp
4589bc8a60 fix: properly ignore defaults, don't match partial
Changed to passing Chokidar simple strings instead of custom regexp, only had to prefix with **/ to get it to match the ignore directories properly.

Fixes #916
v1.14.1
2017-12-20 23:21:35 +00:00
Remy Sharp
1d88943394 fix: pass stdin to child process on -I
Fixes #1036 - the no-stdin wasn't passing the process.stdin to the
child.
2017-12-20 23:21:06 +00:00
Remy Sharp
1e2516de4a fix: defined diretory watching 2017-12-20 14:09:14 +00:00
Remy Sharp
d15cf686f7 fix: remove scoped dep
Fixes #1180
v1.14.0
2017-12-20 14:09:03 +00:00
Remy Sharp
67d146637e refactor: remove libraries over native es6 support 2017-12-20 14:09:03 +00:00
Dominykas Blyžė
35b86a92e1 test: increase timeout between writing files and starting nodemon
It seems that the filesystem events for creating the files get delayed somehow and arrive after nodemon has started - increasing the timeout prevents a restart before we've actually modified the file
2017-12-20 14:08:53 +00:00
Dominykas Blyžė
b326b4648a test: unlink tmp files after each test 2017-12-20 14:08:53 +00:00
Dominykas Blyžė
c5bf96c051 test: always wait for nodemon.reset() to complete in teardown 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
Dominykas Blyžė
84ec156ed0 test: fix hanging test 2017-12-20 14:08:53 +00:00
Dominykas Blyžė
b89d5915a8 chore: append to .npmrc rather than overwrite it in travis 2017-12-20 14:08:42 +00:00
Dominykas Blyžė
bcb4db8649 docs: update nodejs vs node workaround text
There are days when nothing is simple or 101.
2017-12-20 14:08:42 +00:00
Dominykas Blyžė
82d74e517a docs: fix outdated link 2017-12-20 14:08:42 +00:00
Dominykas Blyžė
ceba29a345 chore: respect package-lock
For people who have package-lock=false in ~/.npmrc, package-lock gets removed upon every install
2017-12-20 14:08:42 +00:00
Dominykas Blyžė
009d868516 feat: support wildcard extension matching 2017-12-20 14:08:32 +00:00
Remy Sharp
76f825ef82 docs: update issue template
[skip ci]
2017-12-16 22:23:29 +00:00
Remy Sharp
1171fc1a9a fix: nodemon reporting crash
Fixes #1173
v1.13.3
2017-12-16 01:17:47 +00:00
Remy Sharp
bd9d5957bf chore: fix linting issues v1.13.2 2017-12-15 15:20:01 +00:00
Remy Sharp
e9129c03f8 fix: switch to killing using numericals
Fixes #956
Fixes #813
2017-12-15 15:05:20 +00:00