From 58b37773f3f63248c31edc72ef4710e76dce7d74 Mon Sep 17 00:00:00 2001 From: harsh mahajan Date: Fri, 14 Aug 2026 11:17:34 +0530 Subject: [PATCH] Reset the start command from the framework select, not the effect The effect is skipped whenever the URL supplied any command, so a deploy link carrying ?start= kept that entrypoint through a framework switch. Resetting inside the effect could not fix it either: the effect also runs on load, where the URL value has to survive. Move the reset onto the select, so only a user changing framework clears it and the link keeps working as written. --- .../sites/create-site/deploy/+page.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/(console)/project-[region]-[project]/sites/create-site/deploy/+page.svelte b/src/routes/(console)/project-[region]-[project]/sites/create-site/deploy/+page.svelte index 42890ed97..ff9e5368d 100644 --- a/src/routes/(console)/project-[region]-[project]/sites/create-site/deploy/+page.svelte +++ b/src/routes/(console)/project-[region]-[project]/sites/create-site/deploy/+page.svelte @@ -94,7 +94,6 @@ installCommand = adapter.installCommand || ''; buildCommand = adapter.buildCommand || ''; outputDirectory = adapter.outputDirectory || ''; - startCommand = ''; } } }); @@ -262,7 +261,8 @@ label="Framework" placeholder="Select framework" bind:value={framework} - options={frameworkSelectOptions} /> + options={frameworkSelectOptions} + on:change={() => (startCommand = '')} />