I'm using Nuxt with an Express server as a backend, and I'm building a Rest API on the backend, whenever I make any changes to the server/index.js file it recompiles the client and server, is there anyway to prevent that? It slows things down a lot having to wait 5-8 seconds every time I make a change to the API.
I don't see any reason the entire system needs to be recompiled since the server restarts with Nodemon.
Is there anyway around this? I've tried speeding up the build process and it helps a bit but not enough. On a Non Nuxt express server saving a change takes less than 300 milliseconds.
