I created a webpack plugin and would like it to be able to trigger a re-compile to my dist folder on changes in a folder, but I'm having trouble finding information on how to do it.
I know it's possible because CopyWebpackPlugin triggers a re-compile when any files change in the from: directory.
In a created plugin, how can I watch a folder for changes that will trigger webpack to recompile to the dist folder?