aspnetcore-Vue-starter
                                
                                
                                
                                    aspnetcore-Vue-starter copied to clipboard
                            
                            
                            
                        Hot module reload fails on non .vue files
To replicate, clone and create a brand new project. npm install and then run the application. Notice any changes I make to a .vue file will result in hmr kicking in and doing its thing. Make a change to index.js in the store folder. For example set counter: 25. hmr fails..
Ignored an update to unaccepted module 115 -> 113 -> 108 -> 243 process-update.js:95 [HMR] The following modules couldn't be hot updated: (Full reload needed) This is usually because the modules which have changed (and their parents) do not know how to hot reload themselves. See https://webpack.js.org/concepts/hot-module-replacement/ for more details. process-update.js:103 [HMR] - ./ClientApp/store/index.js
Hmm that’s quite strange... ill take a look!
Actually I am having this issue when doing "dotnet run" for the first time too. It seems the webpack hot module loader is not loading any css/js files. Because webpack is being run in dev mode no files are generated in the dist folder and the page cannot find them to load (hot module loader does not include them). We need to figure out why they are not being included in the hot module loader. I will do some digging....
OK I figured out that I need to run the webpack server "npm run dev". So now she be working except I noticed that if I delete the vendor.css and vendor.js files they are not found so it seems the webpack server is not serving those from RAM. It that by design?