Skip to content

vite build --watch regression #16624

Description

@sebasmaltese

Describe the bug

Since SvelteKit 2.62.0, vite build --watch loops forever, rebuilding without any code changes.

With SvelteKit 3.0.0-next.13 vite build --watch doesn't even build, fails with an error:

error during build:
[replace_manifest_placeholder_variables@file:///home/projects/sveltejs-kit-template-default-qitnbqnz/node_modules/@sveltejs/kit/src/exports/vite/index.js:2209:22
buildApp@file:///home/projects/sveltejs-kit-template-default-qitnbqnz/node_modules/@sveltejs/kit/src/exports/vite/index.js:1588:42
]

Reproduction

Running vite build --watch:

Logs

System Info

-

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions