<?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: App development - live reload in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/App-development-live-reload/m-p/192061#M12003</link>
    <description>&lt;P&gt;If you're just changing the views, you don't need a restart. Relaunching the application should be sufficient.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Dec 2013 21:41:08 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2013-12-30T21:41:08Z</dc:date>
    <item>
      <title>App development - live reload</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/App-development-live-reload/m-p/192060#M12002</link>
      <description>&lt;P&gt;Calling all Splunk app devs!&lt;/P&gt;

&lt;P&gt;Are you using any live reloading tools with the Splunk server? If so, which would you recommend?&lt;/P&gt;

&lt;P&gt;I'm tired of having to restart the server each time to test code changes...&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2013 16:35:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/App-development-live-reload/m-p/192060#M12002</guid>
      <dc:creator>himynamesdave</dc:creator>
      <dc:date>2013-12-30T16:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: App development - live reload</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/App-development-live-reload/m-p/192061#M12003</link>
      <description>&lt;P&gt;If you're just changing the views, you don't need a restart. Relaunching the application should be sufficient.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2013 21:41:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/App-development-live-reload/m-p/192061#M12003</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-12-30T21:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: App development - live reload</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/App-development-live-reload/m-p/192062#M12004</link>
      <description>&lt;P&gt;What kind of code changes are you doing restarts for? If it's just for reloading views etc you just need to reload the application like @somesoni2 says. You do this by either accessing the app's base URL, or by clicking on the app text/image in the upper left corner in the web interface.&lt;/P&gt;

&lt;P&gt;Other stuff can often be reloaded by hitting the /debug/refresh endpoint in splunkweb, i.e. &lt;A href="http://yourserver:8000/debug/refresh"&gt;http://yourserver:8000/debug/refresh&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2013 21:45:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/App-development-live-reload/m-p/192062#M12004</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-12-30T21:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: App development - live reload</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/App-development-live-reload/m-p/192063#M12005</link>
      <description>&lt;P&gt;If you have Sideview Utils installed already, bookmark its "Freshmaker" view. &lt;/P&gt;

&lt;P&gt;Where it is in the app navigation menu depends on what version you have.  If you have the most recent (3.0), it's at "Tools &amp;gt; Other Tools &amp;gt; The FreshMaker"&lt;/P&gt;

&lt;P&gt;or you can just go to :   &lt;CODE&gt;/en-US/apps/sideview_utils/refresh_entities&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Ayn is right of course that you can hit the debug/refresh URL &lt;CODE&gt;&lt;A href="http://yourserver:8000/debug/refresh" target="test_blank"&gt;http://yourserver:8000/debug/refresh&lt;/A&gt;&lt;/CODE&gt;    and you can hit it for just one particular entity with URL's like &lt;CODE&gt;&lt;A href="http://yourserver:8000/en-US/debug/refresh?entity=/admin/views" target="test_blank"&gt;http://yourserver:8000/en-US/debug/refresh?entity=/admin/views&lt;/A&gt;&lt;/CODE&gt;.  However the core debug/refresh endpoint can get really slow.  On my main windows dev server just hitting the views endpoint takes 22 seconds at the moment. &lt;/P&gt;

&lt;P&gt;The Sideview Utils FreshMaker, as of version 3.0 implements its own little python controller so that you can refresh individual endpoint and the request only takes a fraction of a second. &lt;/P&gt;

&lt;P&gt;And in more recent versions of Splunk you can indeed hit the app logo to refresh the views.  However in my experience it's not 100% reliable and even that is too long for me to wait.  My test-tweak iteration cycle drops down to seconds when I'm troubleshooting and a five second wait between page reloads doesn't work for me as an app developer.  &lt;/P&gt;

&lt;P&gt;Download Sideview Utils here - &lt;A href="http://sideviewapps.com/apps/sideview-utils"&gt;http://sideviewapps.com/apps/sideview-utils&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2013 22:00:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/App-development-live-reload/m-p/192063#M12005</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-12-30T22:00:16Z</dc:date>
    </item>
  </channel>
</rss>

