Summary
On macOS, ciderpress dev intermittently prints a native Rspack persistent-cache save error and disables the cache for the session.
Rspack persistent cache save failed: Rspack FS Error:IO error: Directory not empty (os error 66)
Persistent cache has been disabled for this session.
The site continues to build and hot-reload, but the warning is noisy and warm-start caching is lost.
Known cause
Rspack's native cache layer fails during an atomic directory swap. The message is written directly to stderr, so the JavaScript logger configuration cannot suppress it safely.
Acceptance criteria
- Confirm whether the current Rspack version still reproduces the failure on Apple Silicon.
- Prefer fixing or disabling the failing dev cache path over filtering stderr.
- Dev startup and hot reload remain correct after the change.
- The known-benign failure no longer pollutes normal terminal output.
- Document any warm-start performance tradeoff.
Summary
On macOS,
ciderpress devintermittently prints a native Rspack persistent-cache save error and disables the cache for the session.The site continues to build and hot-reload, but the warning is noisy and warm-start caching is lost.
Known cause
Rspack's native cache layer fails during an atomic directory swap. The message is written directly to stderr, so the JavaScript logger configuration cannot suppress it safely.
Acceptance criteria