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

I set app_mode = development but when I change front-end source code it don’t work.what is the problem?

1 Like

Hi,

You’ll need to have npm run watch running while making changes to your code. Still don’t work - please include your grafana source code version and the steps taken before running npm run watch.

Marcus

Hi mefraimsson,

Thanks for your reply, my grafana version is v5 alpha and steps that i did:
-./bin/grafana-server
-npm run watch
-make some changes and run/debug(VScode/chrome)

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

Thanks a lot! Its OK!