<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to &amp;quot;refresh&amp;quot; a widget's code while editing it in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838406#M9006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Strange number 2 does not work for you. Recreating the app should ensure that your new app gets the latest changes of the widget code. This is what I do every day in widget development for WAB and do not have an issue with this workflow. The only time I have to re-start NodeJS is when I make a change in the nls strings.js file and occasionally when I make a html change that seems to be cached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my normal workflow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I find that works is this. When developing, I code my widget and save those changes and delete the old app in WAB and create a new one each time I make code changes (this is a workflow I started in Beta version so I just stuck with it.). I give the new app a simple name like "ID" and I do not configure anything but my widget I am developing. Then I go and make more changes in my widgets code and save and back in WAB I once again delete the old "ID" app and create a new one (this way I am sure that the "ID" app has the latest widget code).&lt;/P&gt;&lt;P&gt;If I make changes to the widgets nls/strings.js, I will have to restart Node to catch those changes. I have sometimes noticed the same for *.html file changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating a new app each code iteration is what I found to be the best workflow&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2015 13:13:34 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-01-20T13:13:34Z</dc:date>
    <item>
      <title>How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838405#M9005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm playing around with Adam Drackley's excellent &lt;A href="https://github.com/cmndrbensisko/LocalLayerWidget"&gt;Local Layer Widget&lt;/A&gt; and am making changes in the Widget.js file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way refresh a web app when changes have been made to a widget's JS code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) re-loading an existing web app (eg &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:3344/webappbuilder/?id=17" rel="nofollow" target="_blank"&gt;http://localhost:3344/webappbuilder/?id=17&lt;/A&gt;&lt;SPAN&gt;) doesn't show the updated code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2) creating a new app from the homepage (&lt;A href="http://l10-npcon1.erga.auiag.corp:3344/webappbuilder/" title="http://l10-npcon1.erga.auiag.corp:3344/webappbuilder/"&gt;http://localhost:3344/webappbuilder&lt;/A&gt;) doesn't show the updated code (edit: it seems to work now)&lt;/P&gt;&lt;P&gt;3) closing and reopening the Node window (opened by the startup.bat file) &lt;STRONG&gt;sometimes &lt;/STRONG&gt;shows the updated code &lt;EM&gt;(but not consistently)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a method to load the latest version of a widget's code without restarting the Node server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Stephen Lead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 04:40:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838405#M9005</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2015-01-20T04:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838406#M9006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Strange number 2 does not work for you. Recreating the app should ensure that your new app gets the latest changes of the widget code. This is what I do every day in widget development for WAB and do not have an issue with this workflow. The only time I have to re-start NodeJS is when I make a change in the nls strings.js file and occasionally when I make a html change that seems to be cached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my normal workflow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I find that works is this. When developing, I code my widget and save those changes and delete the old app in WAB and create a new one each time I make code changes (this is a workflow I started in Beta version so I just stuck with it.). I give the new app a simple name like "ID" and I do not configure anything but my widget I am developing. Then I go and make more changes in my widgets code and save and back in WAB I once again delete the old "ID" app and create a new one (this way I am sure that the "ID" app has the latest widget code).&lt;/P&gt;&lt;P&gt;If I make changes to the widgets nls/strings.js, I will have to restart Node to catch those changes. I have sometimes noticed the same for *.html file changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating a new app each code iteration is what I found to be the best workflow&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 13:13:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838406#M9006</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-01-20T13:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838407#M9007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find that by clearing the browser cache, I get the updated code. I clear mine very often when making changes. Clearing the cache it tells the browser to go and get the js files again and not look at the ones stored in the browser. I believe you can run your browser in incognito mode and it does not keep those files cached, but i have not gone down that road yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 15:45:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838407#M9007</guid>
      <dc:creator>StanMcShinsky</dc:creator>
      <dc:date>2015-01-20T15:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838408#M9008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Generally simple refresh should work for javascript changes, but you can give try to CTRL+F5 try if this works or clearing the browser cache.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 18:10:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838408#M9008</guid>
      <dc:creator>MahtabAlam1</dc:creator>
      <dc:date>2015-01-20T18:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838409#M9009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestions guys. I'm finding that CTRL-F5 definitely doesn't do the trick. I even tried the "delete everything" option, to no avail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today I'm finding that Robert's suggestion of re-creating the app is working. I'll keep trying that and see how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a bit of a pain, especially when making frequent small changes. If would be great if someone knew a way to refresh the app at the Node.js level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 22:22:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838409#M9009</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2015-01-20T22:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838410#M9010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Haven't tried it with WAB, but can you run &lt;A href="http://nodemon.io/"&gt;nodemon&lt;/A&gt;? That will monitor changes to the code and restart node apps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 22:25:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838410#M9010</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2015-01-20T22:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838411#M9011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This looks promising. Simply switching out &lt;EM&gt;node&lt;/EM&gt; with &lt;EM&gt;nodemon&lt;/EM&gt; in the startup.bat file doesn't do the trick (ie, the app works but it doesn't automatically pick up changes in the widget.js file), but I'll explore it some more and report back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;REM START "Web AppBuilder for ArcGIS" /B %nodeFile% %serverjsFile%&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;START "Web AppBuilder for ArcGIS" /B nodemon %serverjsFile%&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 22:49:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838411#M9011</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2015-01-20T22:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838412#M9012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A href="https://github.com/remy/nodemon#nodemon"&gt;documentation &lt;/A&gt;says: "&lt;EM style="color: #333333; font-size: 16px; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;"&gt;nodemon will watch the files in the directory in which nodemon was started, and if any files change, nodemon will automatically restart your node application."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 16px;"&gt;The startup.bat file first changes to the /server directory, then starts up node. I wonder if that means that only files under the /server directory are being monitored by nodemon?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 16px;"&gt;9:&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;SET serverPath=server&lt;/P&gt;&lt;P&gt;10: SET serverjsFile=server.js&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 16px;"&gt;18: CD %serverPath%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; font-size: 16px;"&gt;29: START "Web AppBuilder for ArcGIS" /B %nodeFile% %serverjsFile%&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 23:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838412#M9012</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2015-01-20T23:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838413#M9013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can see via the file system that the files have not changed - C:\arcgis-web-appbuilder-1.0\server\apps\30\widgets\LocalLayerWidget shows the old code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This explains why CTRL-F5 has no effect - it is correctly updating the page based on the latest code. Creating a new app (#31) shows the new code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you guys possibly do a quick check? Make an app, and check its code in the arcgis-web-appbuilder-1.0\server\apps\APP_NUMBER\ directory, then make a simple change (eg add an alert) and see if the widget code changes? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This definitely suggests that a node-level change needs to occur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 00:13:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838413#M9013</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2015-01-21T00:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838414#M9014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I make my app and then edit the code in the &amp;lt;web app builder&amp;gt;\server\apps\&amp;lt;app name&amp;gt; folder.&amp;nbsp; All I need to do to see edits is refresh the browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I'm happy with my changes, I shut down the node.js server and copy the widget and/or other files to the &amp;lt;web app builder&amp;gt;\client\stemapp folder.&amp;nbsp; There may be some good reason to do it another way, but I've been doing it this way since Beta 1 last April, and have never had a problem with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Larry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 23:01:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838414#M9014</guid>
      <dc:creator>LarryStout</dc:creator>
      <dc:date>2015-01-22T23:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838415#M9015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Larry, that's a good workaround.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 23:26:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838415#M9015</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2015-01-22T23:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838416#M9016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I have found works best is this process:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) make code changes (directly in stemapp/widgets/mywidget)&lt;/P&gt;&lt;P&gt;2) delete widget in app, save.&lt;/P&gt;&lt;P&gt;3) F5 refresh browser&lt;/P&gt;&lt;P&gt;4) Re-add widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On annoyance I've had, when pulling a widget from source control into stemapp, if I don't first shut down the server, that widget gets added to the widget picker a bunch of times, and seems to stay that way.&amp;nbsp; To remove the extras, I've done a full wab install replacement. There's got to be a much better way, I presume?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 16:32:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838416#M9016</guid>
      <dc:creator>DouglasGennetten</dc:creator>
      <dc:date>2015-01-23T16:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838417#M9017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a batch file that checks port 3344 to see if all of the listeners have been released.&amp;nbsp; Sometimes it takes a minute or two after you stop node.js.&amp;nbsp; The batch file has one line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14220313918071955 jive_text_macro" jivemacro_uid="_14220313918071955"&gt;&lt;P&gt;cmd /K "netstat -aon | findstr "3344""&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Larry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 16:43:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838417#M9017</guid>
      <dc:creator>LarryStout</dc:creator>
      <dc:date>2015-01-23T16:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838418#M9018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are doing the same. If you are using Google Chrome or Opera, you can connect the Developer Tools (F12 / CTRL + SHIFT + I) to your local filesystem. After this point you have full access to all your js/css/html files from Developer Tools. If you make changes with the css property inspector, the changes are saved to the stylesheets instantly and you don't have to copy them everytime. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JS-Debugging works great, you even can edit js code while debugging and you don't have to refresh the page anymore (except you are implementing new object-based functions). The js editor brings some simple kind of code completion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since we detected this feature, we are only using this "IDE" to develop widgets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.chrome.com/devtools/docs/workspaces" title="https://developer.chrome.com/devtools/docs/workspaces"&gt;Workspaces - Persistent authoring in the DevTools - Google Chrome&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 09:30:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838418#M9018</guid>
      <dc:creator>BedaKuster</dc:creator>
      <dc:date>2015-02-27T09:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838419#M9019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the workflow in this thread:&amp;nbsp; &lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/thread/170066#comment-576497" title="https://community.esri.com/thread/170066#comment-576497"&gt;https://community.esri.com/thread/170066#comment-576497&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm using v2.3.&lt;BR /&gt;&lt;BR /&gt;In addition, I go to the \server\apps\{app#}\init.js file&amp;nbsp;&amp;nbsp; where {app#} is a 1, 2, 3, etc. that matches the application map I'm working in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In it, there is a line of code like this, but with various fields inside the curly braces:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;dojoConfig = {&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added this to the list and haven't had a problem since:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dojoConfig = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; cacheBust: true&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Of course, that will probably need to be removed in the deployed version to get the advantages of caching in a production environment.&lt;BR /&gt;&lt;BR /&gt;Hope that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 18:52:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838419#M9019</guid>
      <dc:creator>DavidWendelken</dc:creator>
      <dc:date>2017-03-03T18:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838420#M9020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Larry's suggestion works but has anyone had any luck with the nodemonitor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helps me avoid big copy of files for small changes. I found this page&amp;nbsp;&lt;A class="link-titled" href="https://www.npmjs.com/package/nodemon" title="https://www.npmjs.com/package/nodemon" rel="nofollow noopener noreferrer" target="_blank"&gt;nodemon&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the syntax I believe is&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;nodemon ./server.js localhost 8080

&lt;/CODE&gt;Not sure what the parameters should be when it's WAB?&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:12:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838420#M9020</guid>
      <dc:creator>GisGKAuckland</dc:creator>
      <dc:date>2021-12-12T10:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838421#M9021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no idea really, but have you tried 3344 instead of 8080?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 03:22:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838421#M9021</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-03-27T03:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838422#M9022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I tried that but DevMon doesn't like it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I can infer is that Nodemon is working in the server directory and that's why all changes are reflected. I would like to do the same in the client folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 20:03:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838422#M9022</guid>
      <dc:creator>GisGKAuckland</dc:creator>
      <dc:date>2017-03-27T20:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838423#M9023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I no longer recommend setting cacheBust = true.&amp;nbsp;&amp;nbsp; The v2.3 product has a serious bug that will cause widgets and icons not to display.&amp;nbsp; (Of course, a future version might fix the problem.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://stackoverflow.com/questions/37067302/cachebust-in-dojoconfig-breaks-paths/43210666#43210666" title="http://stackoverflow.com/questions/37067302/cachebust-in-dojoconfig-breaks-paths/43210666#43210666"&gt;javascript - CacheBust in dojoConfig breaks paths - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 14:55:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838423#M9023</guid>
      <dc:creator>DavidWendelken</dc:creator>
      <dc:date>2017-04-04T14:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to "refresh" a widget's code while editing it</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838424#M9024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information.&amp;nbsp; It is helpful to me at this stage of my understanding.&amp;nbsp; coming up to speed on this has been hit and miss for me.&amp;nbsp; But this information is helping.&amp;nbsp; Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 11:40:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-quot-refresh-quot-a-widget-s-code-while/m-p/838424#M9024</guid>
      <dc:creator>AndrewDavis5</dc:creator>
      <dc:date>2017-09-05T11:40:43Z</dc:date>
    </item>
  </channel>
</rss>

