Skip to content

Commit

Permalink
fix: allow windows users to install globally again (#1874)
Browse files Browse the repository at this point in the history
Fixes: #1872
  • Loading branch information
remy committed Jun 30, 2021
1 parent 17aa92b commit 3242215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/monitor/run.js
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 3242215

Please sign in to comment.