Skip to content

Commit

Permalink
fix: watch user defined tailwind config
Browse files Browse the repository at this point in the history
fallback to tailwind.config.js
  • Loading branch information
cossssmin committed Sep 29, 2020
1 parent 8a595e0 commit 6ab6bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -32,7 +32,7 @@ const self = module.exports = { // eslint-disable-line

const watchPaths = [
'src/**/*.*',
'tailwind.config.js',
getPropValue(config, 'build.tailwind.config') || 'tailwind.config.js',
...new Set(templates.map(config => `${getPropValue(config, 'source') || 'src'}/**/*.*`)),
...new Set(getPropValue(config, 'build.browsersync.watch'))
]
Expand Down

0 comments on commit 6ab6bb9

Please sign in to comment.