mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
fix: allow windows users to install globally again (#1874)
Fixes: #1872
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user