Skip to content

Commit

Permalink
fix: use flat sources for watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
yarastqt committed Jun 17, 2020
1 parent 4a8d15c commit 6a5108a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class Build extends Command {

for (const key in config.entry) {
const theme = await loadTheme(config.entry[key])
themes.push(...theme.mappers, ...theme.sources)
themes.push(...theme.mappers, ...theme.sources.flat())
}

const watcher = watch(themes, { ignoreInitial: true })
Expand Down

0 comments on commit 6a5108a

Please sign in to comment.