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
Main tree: restart does not re-run prepare after its inputs changed, dev server runs on stale node_modules #630
In a lane worktree, two npm packages were added (package.json and package-lock.json changed). devstack restart web in the lane installed them: the lane's copy had the new packages and the page worked.
main was fast-forwarded to that branch, the lane stopped and its worktree removed.
In the main tree, restart_service web (over MCP) reported web running, but src/Web/node_modules did not contain the new packages. Vite answered every page that imports them with Failed to resolve import "@vue-flow/core" (HTTP 500).
Running the stack's prepare step by hand (npm ci in src/Web) failed with EPERM while the dev server was running (Windows keeps files in node_modules locked). It worked after stop_service web, npm ci, start_service web.
Expected. When a service's prepare.inputs changed, restart (and the change watch) runs prepare again before starting it, and on Windows stops the running instance first so npm ci can replace locked files. Today the main tree keeps running against stale outputs and the only sign is the dev server's import error.
Not checked: whether devstack up in the main tree would have run prepare, and whether the main tree uses the prepare store like lanes do.
Activity
fix(daemon): the main tree runs prepare when its inputs changed (#630) (
fix(daemon): a change saved while a lane's dev server starts reaches …
fix: findings of the reviews before 0.54.0 (prepare in the main tree,…
docs: stack file breaks are allowed again when they are the lasting s…