AnsweredAssumed Answered

How to "refresh" a widget's code while editing it

Question asked by stevel on Jan 19, 2015
Latest reply on Nov 27, 2018 by avanamesriaustralia-com-au-esridist

I'm playing around with Adam Drackley's excellent Local Layer Widget and am making changes in the Widget.js file


What is the best way refresh a web app when changes have been made to a widget's JS code?


1) re-loading an existing web app (eg http://localhost:3344/webappbuilder/?id=17) doesn't show the updated code

2) creating a new app from the homepage (http://localhost:3344/webappbuilder) doesn't show the updated code (edit: it seems to work now)

3) closing and reopening the Node window (opened by the startup.bat file) sometimes shows the updated code (but not consistently)


Is there a method to load the latest version of a widget's code without restarting the Node server?





Message was edited by: Stephen Lead