Woozzie
Woozzie

Reputation: 21

Flask serving Vue.js bundle file. Re-compile on change?

I'm using flask as my backend and Vue.js for my frontend. I created my VueJS project with vue-cli.

The way I have my project setup right now is that my backend is serving my static files. I, npm run build, and output the bundle files to my backend.

Everything works. It's just annoying to build every time.

I would like to re-compile my bundle every time I make changes to Vue. Is this possible? Modify my webpack?

Note: My project/flask is dockerized too.

Upvotes: 1

Views: 1239

Answers (1)

Related Questions