How do I start a front-end project?

hi:
Now I am trying to modify the front-end code, which requires NPM run build first, and then NPM run start, and the modified content will take effect。
This step took too long, and I don’t think my command to start the front-end project was correct to cause it to take so long。
So,What is the right development mode to start a front-end project?

thands

Hi @sumingyue! You can use npm run watch command: it will build front-end code and then watch it for changes, so when you change something - it will re-build only changed files which is much faster.

1 Like

Thank you very much. It worked.

1 Like