Have option in UseWebpackDevMiddleware to load existing js files on startup #1142

Closed
opened 2025-08-09 17:19:02 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @rhyek on 1/4/2017

This is in relation to #545. Currently using VC Code to work on a ASP.Net Core/VueJS project. I'm using dotnet-watch to automatically restart the server on backend code changes. Doing so also restarts webpack fully. This adds 3-5s to an already lengthy ~10s just from restarting the server.

This is on a new project with barely any custom code. I feel it is important to shave off any build times wherever possible.

I would appreciate an option to just serve existing compiled js files when restarting the server. JS files are compiled every time on save, so I believe it's generally unnecessary to do so on server restart as well (I may be wrong about this).

*Originally created by @rhyek on 1/4/2017* This is in relation to #545. Currently using VC Code to work on a ASP.Net Core/VueJS project. I'm using dotnet-watch to automatically restart the server on backend code changes. Doing so also restarts webpack fully. This adds 3-5s to an already lengthy ~10s just from restarting the server. This is on a *new* project with barely any custom code. I feel it is important to shave off any build times wherever possible. I would appreciate an option to just serve existing compiled js files when restarting the server. JS files are compiled every time on save, so I believe it's generally unnecessary to do so on server restart as well (I may be wrong about this).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1142
No description provided.