You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like DashboardMiddleware already tries to load "index.min.js" from disk. I'm now guessing this isn't working due to an issue with my test process's current directory or something. I'll try to step through the middleware to see if I can identify the cause in my test environment.
Thinking about a webpack-based build, ASP.NET's SPA services include a proxy middleware that could be paired with webpack's dev server. Based on some quick searches, it sounds like the proxy middleware even propagates webpack's live-reload/HRM signals. This could be added to the self-host config like:
As suggested by @seniorquico
Developing the dashboard can be slow, as you have to restart the C# test host after every change to the JS.
If a index.min.js file exists on the disk, we could pick this up in preference to the embedded file, and save the test host restart.
This time could be further improved if a technology such as webpack was used to build the minified javascript incrementally.
The text was updated successfully, but these errors were encountered: