dazinator / NetPack

.Net Core library, for runtime processing of static files such as typescript, js, css etc.
13 stars 2 forks source link

Browser Reload - Allow IFileProvider to be provided #46

Closed dazinator closed 5 years ago

dazinator commented 5 years ago

Browser reload explicitly allows watch patterns for IHostEnvironment.WebRootFileProvider and ContentRootFileProvider, but can't be used with an arbitrary IFileProvider unless that fileprovider is added to the one of the aformentioned properties using a CompositeFileProvider.

Enhance BrowserReload, so you can configure to use any IFileProvider you want as a source, and configure multiple IFileProviders with watch patterns (multiple sources).