From b0323c3655552d7edecfdcae2630bcc4c8f45e90 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Thu, 19 Feb 2026 19:33:50 -0800 Subject: [PATCH] Skip server-changed check for new apps with no remote manifest --- src/cli/commands/sync.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/commands/sync.ts b/src/cli/commands/sync.ts index 7bd844a..d5b0e09 100644 --- a/src/cli/commands/sync.ts +++ b/src/cli/commands/sync.ts @@ -152,8 +152,8 @@ export async function pushApp(options: { quiet?: boolean, force?: boolean } = {} if (!ok) return } - // If server changed, abort unless --force - if (serverChanged && !options.force) { + // If server changed, abort unless --force (skip for new apps) + if (remoteManifest && serverChanged && !options.force) { console.error('Cannot push: server has changed since last sync') console.error('\nRun `toes pull` first, or `toes push --force` to overwrite') return