Skip to content

Tags: stardust-kevin/nodemon

Tags

v2.0.7

Toggle v2.0.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: redirect help (remy#1825)

Fixes: remy#1807

Allows for nodemon --help > help.txt

v2.0.6

Toggle v2.0.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
chore: change test targets (remy#1788)

No longer testing in node@8 as of nodemon@2.0.5

Adding node@14 and dropping non-LTS targets (odd versions).

v2.0.5

Toggle v2.0.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: runOnChangeOnly=true

Fxies issue remy#1742: corrected run.js, run.test.js, watch.js for the use case runOnChangeOnly=true (remy#1751)

v2.0.4

Toggle v2.0.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: add funding in package

I'd be prepared to bet the house that npm 7's postinstall block and funding support pretty much kills support. Ah well.

v2.0.3

Toggle v2.0.3's commit message
test: split require tests

v2.0.2

Toggle v2.0.2's commit message
test: fix fork test

I accidently dropped the part of the test that checks that the script
correctly started 😱

v2.0.1

Toggle v2.0.1's commit message
fix: ubuntu loop waiting for sub processes

Fixes remy#1633

Multiple parts but all localised to run.js:

- Refactor the kill logic to be simpler
- Consistently use pstree to determine sub process list
- Pipe stderr through nodemon to squash `sh -c` error warning

Bug was caused by waiting on multiple sub processes and if they all
ended the logic would only subtract one from the count list (rather
than the total number).

I've refactored the code so that it doesn't use the `kill -0 <pid>` as
this was a little confusing to read (it's effectively a no op) and
switched to using pstree to test if any sub processes are still running.

The logic for killing the processes has also been refactored to
simplify. Before it would fork the logic based on whether `ps` existed
on the system.

Now it uses the same logic with the exception of the kill signal sent -
when `ps` isn't on the system, we have to send numeric signals (I can't
remember how I found that out, but I do remember it was a painful
process!).

The last part required due to a side effect of the refactor on kill:
when a kill signial is sent to `sh -c` the shell prints a warning.
Details on how to replicate: https://git.io/Je6d0

To squash this, I track if the process is about to be killed (by
flagging the sub process right before the kill function call) and if
there's an error whilst shutdown is in effect, the error is only printed
to nodemon's detailed output (using nodemon -V).

v2.0.0

Toggle v2.0.0's commit message
feat: update chokidar to v3

BREAKING CHANGE:

Massive CPU & RAM consumption improvements. 17x package & deps size reduction.

v1.19.4

Toggle v1.19.4's commit message
fix: Replace `jade` references by `pug`

close remy#1595

v1.19.3

Toggle v1.19.3's commit message
fix: to avoid confusion like in remy#1528, always report used extension