webpack-watch-files-plugin icon indicating copy to clipboard operation
webpack-watch-files-plugin copied to clipboard

How to watch nested directories

Open Murka007 opened this issue 3 years ago • 0 comments

I realized that this package doesn't work with nested directories. To fix this, I have to write it like this, is there any other solution how I can simplify this?

new WatchExternalFilesPlugin({
    files: [
        "./src/**/**/*",
        "./src/**/*",
        "./src/*",
        "./public/**/**/*",
        "./public/**/*",
        "./public/*",
    ]
})

Murka007 avatar Aug 02 '22 15:08 Murka007