eddev 0.2.26 → 0.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -216,14 +216,14 @@ function createNextApp(opts) {
|
|
|
216
216
|
}, opts.baseDirectory);
|
|
217
217
|
sendSignal({ code: "url", url: "http://127.0.0.1:".concat(port) });
|
|
218
218
|
// await devNext(serverlessDirectory, port)
|
|
219
|
-
return [4 /*yield*/, runScript(serverlessDirectory, ["run dev", "--port", String(port)])];
|
|
219
|
+
return [4 /*yield*/, runScript(serverlessDirectory, ["run", "dev", "--port", String(port)])];
|
|
220
220
|
case 24:
|
|
221
221
|
// await devNext(serverlessDirectory, port)
|
|
222
222
|
_b.sent();
|
|
223
223
|
return [3 /*break*/, 27];
|
|
224
224
|
case 25:
|
|
225
225
|
if (!opts.build) return [3 /*break*/, 27];
|
|
226
|
-
return [4 /*yield*/, runScript(serverlessDirectory, ["run build"])];
|
|
226
|
+
return [4 /*yield*/, runScript(serverlessDirectory, ["run", "build"])];
|
|
227
227
|
case 26:
|
|
228
228
|
_b.sent();
|
|
229
229
|
_b.label = 27;
|