You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3298c83
Browse filesBrowse the repository at this point in the historyBrowse files
feat(cli): add t3 service restart and make t3 update repoint the service eagerly
t3 update now rewrites the service unit to the new version whether or not
the user agrees to a restart, so declining and running t3 service restart
later lands on the new version. service restart is the new way to apply a
deferred update or kick a stuck service. service update did what service
install does and is deprecated: hidden from help, prints where to go, still
repairs. The status hints stop suggesting npx.
Co-Authored-By: Claude Fable 5 <[email protected]>
reason: `t3@${targetVersion} is installed but the background service could not be updated (exit ${String(result.code)}).\n${result.stderr.trim()||result.stdout.trim()}`,
542
+
reason: `t3@${targetVersion} is installed but the background service could not be ${restartService ? "updated" : "pointed at it"} (exit ${String(result.code)}).\n${result.stderr.trim()||result.stdout.trim()}`,
yield*Console.log(` Background service already on ${targetVersion}`);
556
559
}elseif(serviceInstalled){
557
560
yield*Console.log(
558
-
` Background service still running ${serviceVersion??"an unknown version"}. Run \`t3 service update\` when you are ready to restart it.`,
561
+
` Background service still running ${serviceVersion??"an unknown version"}. Run \`t3 service restart\` when you are ready to switch it to ${targetVersion}.`,
0 commit comments