diff --git a/build-pipeline.js b/build-pipeline.js index 154bab5..fe09a19 100644 --- a/build-pipeline.js +++ b/build-pipeline.js @@ -22,8 +22,8 @@ const clonedRepos = new Set(); function clonePrivateRepo(repoConfig, targetDir) { if (fs.existsSync(targetDir)) { - console.log(`[DEV] ${repoConfig.name} already exists locally. Skipping clone to use local changes.`); - return; + console.log(`Removing stale ${repoConfig.name} before fresh clone...`); + fs.rmSync(targetDir, { recursive: true, force: true }); } const token = process.env.GITLAB_TOKEN || process.env.VYLA_GITLAB_TOKEN; diff --git a/ui/index.html b/ui/index.html index e9d5c9f..44c7f90 100644 --- a/ui/index.html +++ b/ui/index.html @@ -587,7 +587,7 @@ void main() { const data = e.payload || e; if (data && data.url) { setStatus("Launching..."); - window.location.href = data.url; + window.location.replace(data.url); } });