title: meteor cordova build vs production server (no hot code push)
body: <p>can't get my head around hot code push in my setup:</p>
  
  <p>on server A (osx with xcode and add-platform ios) i built a meteor cordova app with</p>
  
  <pre><code>meteor run ios-device --mobile-server https://productionserver.com
  </code></pre>
  
  <p>(when i point my cordova app at my localhost:3000 hot code push is working just fine).</p>
  
  <p>on server B (linux, nginx, some meteor instances on port 808x) i run</p>
  
  <pre><code>meteor --port=127.0.0.1:8080
  </code></pre>
  
  <p>server B runs without add-platform ios (linux), but i found an interesting discussion from slava <a href="https://www.marshut.net/ksvrwk/mobile-app-hot-code-update-issues-in-production.html" rel="nofollow">here</a> and did:</p>
  
  <pre><code>meteor add-platform firefoxos
  </code></pre>
  
  <p>and thought that hot code push would trigger with this stub.</p>
  
  <p>when i change the code (client directory) on server B, the change is reflected when i call the web interface.</p>
  
  <p><strong>But in my cordova app no change is happening even after app restart.</strong></p>
  
  <p>can you please point me in the right direction?</p>
  
  <p>how is the code push happening behind the scenes?</p>
  
  <p>how should i set up my build/prod environment the make hot code push working?</p>
  
  <p>thanks for your help</p>