Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Fix export race condition (bonus windows support for dev) #585

Merged
merged 3 commits into from
Mar 4, 2019

Conversation

halfnelson
Copy link
Contributor

Export was firing off up to 8 requests, but only waiting for the last one to complete before killing the server.js process. This uses the q.close() method that seems to be designed to wait for all queued promises to complete.

@Conduitry
Copy link
Member

Rich actually recently removed rmraf and added a simple standalone version of it - https://github.com/sveltejs/sapper/blob/master/src/api/utils/fs_utils.ts - The build script should probably be changed to use this, rather than bringing rimraf back in again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants