Skip to content

Commit 3cfeeb2

Browse files
committed
fix: patch up serve command
1 parent 0ae637c commit 3cfeeb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/ServeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ protected function buildWatcherCommand()
213213
return "npx @leafphp/watcher --watch .env --exec " . escapeshellarg($phpCommand);
214214
}
215215

216-
return "npx @leafphp/watcher --watch .env --exec \"$phpCommand\"";
216+
return escapeshellarg("npx @leafphp/watcher --watch .env --exec \"$phpCommand\"");
217217
}
218218

219219
/**

0 commit comments

Comments
 (0)