WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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
Build: Address latest review feedback for robustness and CI stability
- Exit explicitly after one-off watch closes; set exit code on errors
- Guard os.cpus() with try/catch; default cpuCount to 1
- Leave one CPU core free by default for thread-loader workers
- Add fallback to if import fails
- Close webpack compiler after production run completes
- Version filesystem cache with env-affecting options (thread/worker/cache/prod)
- Harden zip creation with error handling and close event awaiting
These changes reduce chances of hung processes, stale/incorrect caches,
resource leaks, and unnoticed zip errors, improving reliability in local
and CI builds.
0 commit comments