How to auto generate files in development mode in nuxtjs?

Viewed 36

I am creating a SPA application, but after every change I enter the command "npm run generate" to generate static files. How can I run the "npm run dev" command so that it automaticly creates files in the "dist" folder?

My backend server (nestjs) connects to the "dist" folder and grabs the index.html file from there.

0 Answers
Related