Remy Sharp
fb2e8687a8
chore: fix linting
2017-12-28 22:06:14 +00:00
Remy Sharp
11d7e67293
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-28 20:04:38 +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
Remy Sharp
770c90dcdd
test: bump pstree for node 4 support
v1.13.1
2017-12-15 14:14:26 +00:00
Remy Sharp
bf9b7a6876
fix: if no ps, walk /proc to kill child fully
...
Originally used ps-tree which relied on `ps` on *nix. But if the system
didn't have `ps` at all, we'd try to kill the child process, but alas
this would not always work, as we're spawning `sh` and _then_ node, so
the kill would only kill the `sh` process, and not the running node
process.
The new @remy/pstree lib sniffs for `ps` and defers to ps-tree,
otherwise it will walk /proc and map the PPID to the child process
allowing nodemon to fully clean up.
2017-12-15 14:14:26 +00:00
Martin Dimitrov
10ded94cd7
fix: fixed an issue where we tried to resolve null as path
2017-12-15 14:14:17 +00:00
Remy Sharp
14fcf94404
docs: update issue template
...
[skip ci]
2017-12-15 08:53:04 +00:00
Remy Sharp
f8a5abe258
feat: watch script regardless of extension
...
Fixes the issue where express is a js based project, but the executable
is `www`, so it misses on the match. So now nodemon will watch for
matching extensions but *also* the script the user gave.
Fixes #461
Note that this can't handle the situation where npm is used to run `node
./bin/www` as nodemon can't split out a package script command.
v1.13.0
2017-12-15 08:46:11 +00:00
Remy Sharp
30f999a06c
feat: support SIGHUP to restart nodemon
...
Also small linting tweaks and typos in comments.
Fixes #393
2017-12-15 08:46:01 +00:00
Remy Sharp
a282afbbe3
fix: support nodemon index to expand to index.js
...
With support for custom extensions (picking only the first).
Fixes #1165
2017-12-15 08:45:49 +00:00
Remy Sharp
fd961d6053
fix: defensive check on accessing cmd.args
v1.12.7
2017-12-13 22:17:13 +00:00
Remy Sharp
fa64cdcc8a
docs: reduce CLI output and add --help options
...
Also restore missing -L CLI options.
Fixes #1160
2017-12-13 21:55:13 +00:00
Remy Sharp
d9e93ad367
fix: support node arguments again
...
If node is being passed any arguments (before the script) then use
spawn instead of fork.
Fixes #1161
2017-12-13 21:08:33 +00:00
Remy Sharp
9f8defc089
docs: :add syntax highlight + contributors
...
Closes #1155
[skip]
2017-12-13 13:30:00 +00:00
Remy Sharp
f52615c0f7
fix: only use fork if node>4
v1.12.6
2017-12-13 13:08:05 +00:00
Remy Sharp
2d4ce033bb
docs: update faq on issue #1124
2017-12-12 18:06:49 +00:00
Remy Sharp
62a361cfdb
fix: use fork child node processes
...
* heisian-master:
fix: get tests to pass
fix: travis CI build before-install
test: fork child node processes
2017-12-12 18:00:16 +00:00
Remy Sharp
0628f263d3
chore: merge heisian-master
...
* 'master' of https://github.com/heisian/nodemon :
fix: get tests to pass
fix: travis CI build before-install
test: fork child node processes
2017-12-12 17:59:43 +00:00
Alex
6d760f4f81
fix: restore node 4 min support
...
* node 4 min
* add node 4 to travis
2017-12-12 17:36:15 +00:00
Remy Sharp
8967c02301
test: only use .npmrc if a non-PR
2017-12-12 15:25:20 +00:00
Timothy Huang
cf923a8a77
fix: get tests to pass
2017-12-06 14:45:17 -08:00
Timothy Huang
3a6b8df9ae
fix: travis CI build before-install
2017-12-06 14:45:17 -08:00
Tim
f711fb7889
test: fork child node processes
2017-12-06 14:45:10 -08:00
Remy Sharp
183add9166
test: fix typo in before_install
2017-12-06 19:13:06 +00:00
Remy Sharp
57c14a2b58
test: only add npmrc on master ( #1147 )
2017-12-06 12:36:41 +00:00