Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use atomic operations to prevent partial files when generating images…
… (#3513) ## Description We've had issues where during the asset generation stage of `npm run dev`, the script would crash due to OOM. Subsequent runs will say "Assets generated successfully" but the images would be corrupt. This PR uses a temporary file and rename to alleviate this issue. ## Checklist - [x] I have read and understood the [WATcloud Guidelines](https://cloud.watonomous.ca/docs/community-docs/watcloud/guidelines) - [x] I have performed a self-review of my code
- Loading branch information