title: Cordova + react with hot reload while development mode
body: <p>I found this question <a href="https://stackoverflow.com/questions/43336924/cordova-with-create-react-app">Cordova with Create-react-app</a>. </p>
  
  <p>Am I able to achieve live-reloading while I'm in development mode and app is running in android emulator? I'm scared that I have to build the app everytime I wanna to see changes. </p>
  
  <p>Is cordova able to watch react-app which run in development mode and read source from <code>index.js</code> listening for changes?</p>
  
  <p>Let's say that I want to achieve something like this:</p>
  
  <ol>
  <li>create cordova project.</li>
  <li>create react project inside of /www folder (or any other folder that will work with my use-case...).</li>
  <li>run <code>cordova run android</code> from root to run application in Android Simulator and <code>npm start</code> from /www directory.</li>
  <li>cordova should be able to listen for changes and live-reload react app inside Android emulator.</li>
  <li><strong>I need to able to access cordova instance inside react code to use plugins, etc.</strong></li>
  </ol>
  
  <p>I've found some webpack-server-dev (using webpack v1...) related solutions but none of them seems to be working and I need to restart <code>cordova run android</code> command to see changes in the code. Otherwise these templates doesn't provide functionality to enable access to the cordova plugins instance during development mode</p>
  
  <blockquote>
    <p>So is really <code>npm build</code> followed by <code>cordova run android</code> only way to develop cordova + react app?? </p>
  </blockquote>
  
  <p>Note 1: I would like to use SQLite cordova plguin so development in browser-only mode and then building the application for android/ios once its done is not my case I think. Do you have any suggestions please?</p>
  
  <p>Note 2: I can't use react-native as I need to use openlayers maps lib. </p>
  
  <p><em>Thanks you so much for your answers!</em></p>