After 'npm run watch', I change the source code of front-end, but it not work

Okay so you’re trying to debug/run through vs code. Then please see my earlier answer in this matter How to develop the project in VSCode

Marcus