-
-
Notifications
You must be signed in to change notification settings - Fork 257
Description
Version
@rsbuild/core: ^1.1.9 => 1.2.3Details
rsbuild dev defaults to not writing to the output directory, but still honors the cleanDistPath option (which defaults to true), causing it to clear the output directory.
Instead, rsbuild dev should only honor cleanDistPath if it is actually writing to the output directory. Otherwise, it should leave the output directory untouched.
Reproduce link
n/a
Reproduce Steps
- rsbuild build
- Observe that dist/ is populated
- rsbuild dev, then terminate it once it finishes building once
- Observe that dist/ is not cleared.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels