Skip to content

Commit

Permalink
fix: events in serve method
Browse files Browse the repository at this point in the history
fixes #335
  • Loading branch information
cossssmin committed Oct 23, 2020
1 parent 0859a69 commit 3d01f3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ const self = module.exports = { // eslint-disable-line
maizzle: config,
tailwind: {
css: cssString
}
},
...config.events
})
.then(async ({html}) => {
await fs.outputFile(path.join(destination, file.replace(fileSource, '')), html)
Expand Down

0 comments on commit 3d01f3a

Please sign in to comment.