slow using dotnet watch run #545
Description
I've set up a small project and so far most everything seems to work fine. My project uses the csproj model and for the frontend I've got Vue running (thanks to some resources I found here and elsewhere). HMR is pretty fast, but I'm not sure how you guys intend for people to run the server during development. I've got it set up to use dotnet watch run
so I don't have to restart the server manually after backend code changes. The problem is everytime you do dotnet run
, webpack has to set itself up again from scratch, so you can imagine how dotnet watch run
feels.
I'm fairly new to node and especially webpack, but a complete noob when it comes to dotnet core + node. I wonder if s there's a way to have dotnet watch run
only recompile backend code? I figure I'd have to run webpack in a different process altogether, but I want to keep HMR + server side rendering, so I want to get your insight.
Thank you.