My app loads a few different files at runtime that are NOT compiled/known by webpack. Language files (.json), some external css styles (.css).
When my app runs on webpack-dev-server, i'd like it to receive updates for these files when they change - i'd write a small chunk of code to pass the new external language files to language manager (for example).
Is it possible to use Webpack HMR for this? If not, I guess I need to run two servers (webpack dev server, plus my custom HMR server?).
I've tried using import.meta.webpackHot to try to accept the change - webpack does notice the file has changed but HMR says "Nothing Changed" - presumably because Webpack doesn't think its relevant?
Any steer would be useful.
Thanks