Grafana Development build

It used to be that just running “grunt” would generate unminified versions the the scripts that Grafana runs on (and then a browser’s dev tools could be used to step through those scripts). But since the last build changes to webpack, I am unsure of what the replacement is. How to run a version of Grafana that serves unminified scripts.

I also feel that the “Building from source” documentation has never made it particularly clear either.

Thanks for any guidance!


Please see

npm run watch will rebuild the code on file changes. npm run dev will build the frontend code once for development.


but have not the file package.json

Have you cloned the grafana git repository and pulled the latest changes?