Skip to content

Commit 3242215

Browse files
authored
fix: allow windows users to install globally again (#1874)
Fixes: #1872
1 parent 17aa92b commit 3242215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/monitor/run.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ function kill(child, signal, callback) {
347347
// We are using the standalone 'windows-kill' executable to send the
348348
// standard POSIX signal 'SIGINT' to the node process. This fixes #1720.
349349
const windowsKill = path.normalize(
350-
`${process.cwd()}/node_modules/nodemon/bin/windows-kill.exe`
350+
`${__dirname}/../../bin/windows-kill.exe`
351351
);
352352

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

0 commit comments

Comments
 (0)