Skip to content

Commit

Permalink
Wait for async CSS file output locally.
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Apr 2, 2019
1 parent 928b067 commit 7d07f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/output/toDisk.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = async (env, spinner) => {
}

if (env == 'local') {
fs.outputFile(`${outputDir}/css/${globalConfig.build.tailwind.css}`, css)
await fs.outputFile(`${outputDir}/css/${globalConfig.build.tailwind.css}`, css)
}

await helpers.asyncForEach(templates, async file => {
Expand Down

0 comments on commit 7d07f30

Please sign in to comment.