Closed deanfields closed 3 years ago
@deanfields Indeed! You can use the webpack watch files plugin like so:
// webpack.dev.js
const WatchExternalFilesPlugin = require('webpack-watch-files-plugin').default;
plugins: [
...
new WatchExternalFilesPlugin({
files: [ '../tailwind.config.js' ]
}),
...
Is there a way to trigger a recompile when the tailwind.config.js changes? It's super quick as it is, which is great but it would be nice if it could re-trigger maybe with a command?