Commit Graph

1126 Commits

Author SHA1 Message Date
Remy Sharp
0dc3ecca58 chore: Merge branch 'pepe79-master'
* pepe79-master:
  fix: wait for all subprocesses to terminate (fixes issue #1476)
2019-11-20 14:58:52 +00:00
Remy Sharp
0ca30e0fdd chore: merge
[skip ci]

* 'master' of https://github.com/pepe79/nodemon:
  fix: wait for all subprocesses to terminate (fixes issue #1476)
2019-11-20 14:58:26 +00:00
Remy Sharp
b58cf7dcfd chore: Merge branch 'master'
[skip ci]

* 'master' of github.com:remy/nodemon:
  fix: Replace `jade` references by `pug`
  chore: test funding.yml change
  chore: update funding
  test: ensure ignore relative paths
2019-11-20 14:55:10 +00:00
Remy Sharp
95a4c092c8 docs: add to faq
[skip ci]
2019-11-20 14:45:24 +00:00
Remy Sharp
3a2eaf7c6a choe: merge master
* refs/remotes/origin/master:
  fix: to avoid confusion like in #1528, always report used extension
  fix: langauge around "watching" (#1591)
  docs: README Grammar (#1601)
2019-11-20 14:25:55 +00:00
Remy Sharp
3d90879f69 chore: add logo to site
[skip ci]
2019-11-20 13:57:43 +00:00
Marcel Kottmann
90fc1494d2 fix: wait for all subprocesses to terminate (fixes issue #1476) 2019-10-24 14:15:15 +02:00
Aurélio A. Heckert
7d6c1a88a1 fix: Replace jade references by pug
close #1595
v1.19.4
2019-10-15 19:27:50 -04:00
Remy Sharp
74c8749bb5 chore: test funding.yml change
[skip ci]
2019-10-11 14:36:45 +01:00
Remy Sharp
c1a8b75822 chore: update funding
[skip ci]
2019-10-11 08:04:45 +01:00
Remy Sharp
d5b98915eb test: ensure ignore relative paths
(when asked)
2019-10-07 18:11:43 +01:00
Tarmo Aidantausta
eead311749 fix: to avoid confusion like in #1528, always report used extension v1.19.3 2019-09-29 11:01:52 +01:00
Remy Sharp
12b66cd492 fix: langauge around "watching" (#1591)
ref: #1583

It was unclear whether it was listing files being watched when in fact
it was the list of directories (plus, make it cleaner)
v1.19.2
2019-09-03 11:54:44 +01:00
Drew Llewellyn
2e6e2c46e0 docs: README Grammar (#1601)
- `less` is used for singular mass nouns
- `fewer` when discussing countable things
2019-09-03 11:53:51 +01:00
Remy Sharp
5124ae9528 Merge branch 'master' of github.com:remy/nodemon
* 'master' of github.com:remy/nodemon:
  chore: adding funding file
  chore: update stalebot
  feat: add message event
  fix: disable fork only if string starts with dash
  feat: add TypeScript to default execPath (#1552)
  fix: Quote zero-length strings in arguments (#1551)
v1.19.1
2019-05-25 19:26:24 +01:00
Remy Sharp
95fa05a1f1 chore: git card
[skip ci]
2019-05-25 19:26:15 +01:00
Remy Sharp
d84f421ef7 chore: adding funding file
[skip ci]
2019-05-23 22:07:50 +01:00
Remy Sharp
13afac22a3 fix: ensure signal is sent to exit event 2019-05-08 15:01:50 +01:00
Remy Sharp
d088cb6e66 chore: update stalebot
[skip ci]
2019-05-08 11:12:13 +01:00
Emily Marigold Klassen
20ccb623c4 feat: add message event
add event to listen to messages coming from the child's ipc events, partially implementing #1519
v1.19.0
2019-05-01 08:05:47 +01:00
Emily Marigold Klassen
886527f1f0 fix: disable fork only if string starts with dash
fixes #1554
2019-05-01 08:05:18 +01:00
Leonardo Dino
64b474e9f3 feat: add TypeScript to default execPath (#1552)
`ts-node` is the standard for running typescript node programs on development mode.

Adding this line will enable everyone with a `tsconfig.json` to have a full-refresh server watching experience. (:
2019-05-01 08:04:44 +01:00
Emily Marigold Klassen
2973afbd26 fix: Quote zero-length strings in arguments (#1551)
If a zero-length string is passed, it does not get properly quoted, and then it is not properly passed to the child process
2019-05-01 08:04:25 +01:00
Remy Sharp
aa41ab2124 fix: hard bump of chokidar@2.1.5 v1.18.11 2019-04-08 21:59:59 +01:00
Remy Sharp
fb0c078013 fix: bump chokidar
Fixes #1522
Fixes #1208

Thanks to @mikemaccana for original PR
v1.18.10
2019-02-08 22:13:49 +00:00
Remy Sharp
16cb277a52 chore: Merge branch 'master'
* 'master' of github.com:remy/nodemon:
  docs: center logo (#1495)
  fix: `rs` in node@11 (#1493)
2019-02-06 15:14:46 +00:00
Remy Sharp
df3e08d931 docs: update clear console advice
[skip ci]
2019-02-06 15:13:00 +00:00
MarvinJWendt
82c5c18658 docs: center logo (#1495)
Center the Nodemon logo in the `README.md` for a slightly better look.

[skip ci]
2019-01-03 21:48:19 +00:00
Remy Sharp
dd0b96a943 fix: rs in node@11 (#1493)
Fixes node 11's `rs` support. Somehow required that the `process.stdin` to be disconnected from the child before the stream is resumed (whereas previously it seemed that it would automatically happen…possibly a node 11 bug).

Fixes #1493
v1.18.9
2018-12-14 17:43:18 +00:00
Remy Sharp
3dfd5ccf5a chore: Merge branch 'master'
* 'master' of github.com:remy/nodemon:
  chore: update issue template
  docs: Example of how to allow a graceful reload (#1481)
v1.18.8
2018-12-10 18:15:11 +00:00
Remy Sharp
735afd5221 fix: docker leaving running pids (via pstree)
Fixes #1447
Fixes #1477
Fixes #1484
2018-12-10 18:10:00 +00:00
Remy Sharp
eb457be24e chore: update issue template
[skip ci]
2018-12-10 16:19:58 +00:00
Tejas Dinkar
8132db644d docs: Example of how to allow a graceful reload (#1481)
[skip ci]
2018-12-04 14:22:32 +00:00
Remy Sharp
2dcdd0eb89 docs: how to watch .env files
[skip ci]
2018-11-28 09:31:44 +00:00
Remy Sharp
21e052eddf fix: upgrade pstree to remove vulnerability
Fixes #1463
Fixes #1469
Fixes #1464 

Completely removes the old method of `pstree[.remy]` and drops the event-stream vuln at the same time.
v1.18.7
2018-11-27 08:45:11 +00:00
Michael Leung
68936d9ad3 docs: quotes (#1465)
Added quotes around the `console.clear` section of the "How to clear the console on restart" section.

[skip ci]
2018-11-27 08:34:46 +00:00
Remy Sharp
aa0e45a8d6 docs: add how to clear the console
Since it's repeatedly asked about.

[skip ci]
2018-11-22 11:43:14 +00:00
Remy Sharp
9920e622a4 chore: update lock file 2018-11-22 11:24:05 +00:00
Remy Sharp
c57223181d chore: bump pstree 2018-11-22 11:20:24 +00:00
Remy Sharp
b35c532455 fix: remove deep ps-tree dep
Fixes #1451
2018-11-22 08:28:23 +00:00
Aaron Jensen
521eb1e49d fix: restart on change for non-default signals (#1409) (#1430)
Fixes #1409
v1.18.6
2018-11-05 11:23:14 +00:00
thomas
3afa52c56d fix: nodemon installation for node 10.x and beyond (#1441)
* chore: update the package-lock file using pinned version

The commit 97f8d0a175 introduces versions
prefixed with carets whereas this lockfile needs to pin each
dependencies (same when a user executes `npm i`).

* chore: update chokidar to 2.0.4

this version (11aea72ad7)
fixes the issue related to "upath" that was limiting the node runtime to
9.x (https://github.com/anodynos/upath/blob/v1.0.2/package.json#L43).
v1.18.5
2018-10-26 11:43:41 +01:00
Damián Nohales
e7d9e87955 test: only run run-mac-only.test.js in darwin platform v1.18.4 2018-08-29 18:47:51 +01:00
Damián Nohales
5a47a32f79 fix: properly pass options to chokidar 2018-08-29 18:47:51 +01:00
Mehdi El Fadil
b8ff6b42e4 docs: update help.txt (#1401)
Small update so that `nodemon -h` mentions that `.json` files are now watched by default (this is the case since v1.7.0 -  #643)

P.S.: one remark: the change fixing #643 may have been considered as a breaking change, and reflected by bumping major version number. Updating some apps to nodemon v1.7.0+ require adaptation of the config...
P.P.S. Thanks for creating nodemon, super useful piece of software.
2018-08-11 11:40:38 +01:00
Paul "Joey" Clark
11ef298303 fix: smarter handling of exit code 2
Only exit after code 2 if it happened quickly; improve messaging (recommend `||exit 1`)

If nodemon exits _quickly_ on code 2, then it'll bail and warn. If it's after ~500ms, then it assumes that the sub-process intentionally used exit 2 (like mocha or stylelint), it won't bail and treat it as a failure (like a crash).

Props to @joeytwiddle

Fixes #496 
Fixes #627
v1.18.3
2018-07-17 19:23:25 +01:00
Remy Sharp
363891ff3d fix: revert stdin handling
Fixes #1389
Fixes #1390
Ref #1386

Means that ctrl^l does not instantly clear the terminal. It requires a
new line directly after.
v1.18.2
2018-07-13 20:21:46 +01:00
Remy Sharp
4a8809508b docs: faq typo fix (#1388)
[skip ci]
2018-07-13 12:40:29 +01:00
contra
a2d4d13d9c docs: faq typo fix 2018-07-11 14:47:05 -04:00
Remy Sharp
25a181351f fix: send proper quit signal on ctrl-c (#1387)
Fixes #1386

Also sends the correct signal codes on exit - so instead of $?=1 on
ctrl-c, you'll see $?=130 as per http://tldp.org/LDP/abs/html/exitcodes.html
v1.18.1
2018-07-11 12:51:35 +01:00