Hi there,
I’m trying to learn about plugin development but am struggling to get any javascript changes to stick in my development set up.
I have installed grafana as the standard server on Mac OS.
I have followed the clock example from scratch (not cloning it)
All the builds seem to work using Grunt.
When I change src/module.html, run grunt and refresh chrome the HTML changes and the screen presents with the change. (I can see the changed HTML in dist folder)
When I change src/clock_ctrl.js, run grunt and refresh chrome – nothing changes —. (I can see that the clock_ctrl.js file has update in the dist folder with my changes) however when i look for the change in Chrome nothing changes.
i have been so blatant as to change
this.time = now.format(this.getTimeFormat()) to this.time = ‘Nigel’. but the chrome output remains displaying time???!!
Can anyone explain why this might be. the module.html seems to change the clock_ctrl.js doesn’t??