Skip to content

Commit 63307e1

Browse files
committed
fix for duplicate builds when starting dev
1 parent 4952c00 commit 63307e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/cli-v3/src/dev/devSession.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,9 @@ export async function startDevSession({
160160
}
161161

162162
if (!bundled) {
163-
// First bundle, no need to update bundle
164163
bundled = true;
164+
logger.debug("First bundle, no need to update bundle");
165+
return;
165166
}
166167

167168
const workerDir = getTmpDir(rawConfig.workingDir, "build", keepTmpFiles);

0 commit comments

Comments
 (0)