Skip to content

Commit 5741fa1

Browse files
authored
Merge pull request #12 from mucenica-bogdan/fix-process-current-working-directory
Set process current working directory explicitly
2 parents 1440286 + 1098eee commit 5741fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/BuildCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function handle()
5353
$this->option('watch') ? '-w' : null,
5454
$this->shouldMinify() ? '-m' : null,
5555
]), timeout: null);
56-
56+
$process->setWorkingDirectory(base_path());
5757
$process->setPty(true);
5858

5959
$process->run(function ($type, $buffer) {

0 commit comments

Comments
 (0)