build: run scss pipelines synchronously (#16301)

This resolves a race condition in live-reload when editing scss files.
feature/default_network_editable
legobeat 2 years ago committed by GitHub
parent 58da1d8075
commit 348262f2ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      development/build/styles.js

@ -58,10 +58,8 @@ function createStyleTasks({ livereload }) {
};
async function buildScss() {
await Promise.all([
buildScssPipeline(src, dest, devMode, false),
buildScssPipeline(src, dest, devMode, true),
]);
await buildScssPipeline(src, dest, devMode, false);
await buildScssPipeline(src, dest, devMode, true);
}
}
}

Loading…
Cancel
Save