Skip to content

Commit a3c64d4

Browse files
committed
Fix bg command
1 parent 8e68087 commit a3c64d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pwatch",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"description": "Process Watcher",
55
"main": "./index.js",
66
"bin": {

src/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function handlePid(pid) {
6161
help();
6262
} else {
6363
// Run in BG
64-
spawn('node', ['dist/runCheckPid.js', pid], {
64+
spawn('node', [`${__dirname}/runCheckPid.js`, pid], {
6565
stdio: 'ignore',
6666
detached: true,
6767
}).unref();

0 commit comments

Comments
 (0)