Skip to content

Commit

Permalink
Merge branch 'main' of github.com:remy/nodemon
Browse files Browse the repository at this point in the history
* 'main' of github.com:remy/nodemon:
  feat: Enable nodemon to monitor file removal (#2182)
  • Loading branch information
remy committed Feb 29, 2024
2 parents fe67d04 + 02d216f commit 4a216c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/monitor/watch.js
Expand Up @@ -87,6 +87,7 @@ function watch() {
var total = 0;

watcher.on('change', filterAndRestart);
watcher.on('unlink', filterAndRestart);
watcher.on('add', function (file) {
if (watcher.ready) {
return filterAndRestart(file);
Expand Down

0 comments on commit 4a216c3

Please sign in to comment.