Skip to content

Commit

Permalink
Merge pull request #2 from joeworkman-forks/patch-1
Browse files Browse the repository at this point in the history
Fixed getWatchProcess
  • Loading branch information
freekmurze authored Jun 16, 2022
2 parents 89b915a + c3bf620 commit 472b499
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Watch.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,12 @@ protected function getWatchProcess(): Process
{
$command = [
(new ExecutableFinder)->find('node'),
'file-watcher.js',
realpath(__DIR__ . '/../bin/file-watcher.js'),
json_encode($this->paths),
];

$process = new Process(
command: $command,
cwd: realpath(__DIR__ . '/../bin'),
timeout: null,
);

Expand Down

0 comments on commit 472b499

Please sign in to comment.