Skip to content

Commit 160eddd

Browse files
committed
fix: patch up timeout issue
1 parent 71ade4d commit 160eddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CreateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ protected function handle(): int
141141
}, $commands);
142142
}
143143

144-
if (sprout()->run(implode(' && ', $commands)) === 0) {
144+
if (sprout()->process(implode(' && ', $commands))->setTimeout(null)->run() === 0) {
145145
if ($this->projectType === 'api') {
146146
if (\Leaf\FS\File::exists("$directory/vite.config.js")) {
147147
\Leaf\FS\File::delete("$directory/vite.config.js");

0 commit comments

Comments
 (0)