@papercraneai/cli 1.9.0-beta.1 → 1.9.0
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.
- package/lib/dev-server.js +3 -0
- package/package.json +1 -1
package/lib/dev-server.js
CHANGED
|
@@ -378,6 +378,9 @@ export async function startDevServer(workspaceDir, port) {
|
|
|
378
378
|
|
|
379
379
|
const projectDir = workspaceDir;
|
|
380
380
|
|
|
381
|
+
// Set the port so authFetch('local.*') knows where to reach the dev server
|
|
382
|
+
process.env.PAPERCRANE_LOCAL_PORT = String(port);
|
|
383
|
+
|
|
381
384
|
const nextApp = next({
|
|
382
385
|
dev: true,
|
|
383
386
|
dir: projectDir,
|