Skip to content

Commit

Permalink
Merge branch 'master' of github.com:remy/nodemon
Browse files Browse the repository at this point in the history
* 'master' of github.com:remy/nodemon:
  fix: allow windows users to install globally again (#1874)
  • Loading branch information
remy committed Jul 8, 2021
2 parents f4b89f5 + 3242215 commit 5bb92d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/monitor/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function kill(child, signal, callback) {
// We are using the standalone 'windows-kill' executable to send the
// standard POSIX signal 'SIGINT' to the node process. This fixes #1720.
const windowsKill = path.normalize(
`${process.cwd()}/node_modules/nodemon/bin/windows-kill.exe`
`${__dirname}/../../bin/windows-kill.exe`
);

// We have to detach the 'windows-kill' execution completely from this
Expand Down

0 comments on commit 5bb92d4

Please sign in to comment.