diff --git a/dev/local/env-sync/plan.ts b/dev/local/env-sync/plan.ts index 7e9c46bd3a..d9ec80f9f8 100644 --- a/dev/local/env-sync/plan.ts +++ b/dev/local/env-sync/plan.ts @@ -249,7 +249,9 @@ function computePlan(repoRoot: string, serviceFilter?: Set): EnvSyncPlan if (existingContent !== null) { const oldVars = parseEnvFile(existingContent); + const missingSet = new Set(missingValues); for (const [key, newVal] of resolvedVars) { + if (missingSet.has(key)) continue; const oldVal = oldVars.get(key); if (oldVal !== newVal) { keyChanges.push({ key, oldValue: oldVal, newValue: newVal }); diff --git a/dev/local/services.ts b/dev/local/services.ts index cfd868e8cc..907a4fe152 100644 --- a/dev/local/services.ts +++ b/dev/local/services.ts @@ -276,7 +276,6 @@ function buildServiceDefs(): ServiceDef[] { 'pnpm', 'run', 'dev', - '--', '--port', String(port), '--inspector-port',