These are chat archives for mwaylabs/generator-m-ionic

16th
May 2016
DEllingsworth
@DEllingsworth
May 16 2016 18:47
I was able to get the deploy working. It looks like the ionic-platform-web-client/dist/ionic.io.bundle.min.js replaces cordova.js. So, just commenting out <script src="cordova.js"></script> in the index.html resulted in the deploy working. Perhaps that can be added to the gulp ionic-platform command. I'm doing more testing, but so far, that sees to work.
DEllingsworth
@DEllingsworth
May 16 2016 18:53
This modification is handled by: ionic add ionic-platform-web-client

diff of index.html :
++<script src="lib/ionic-platform-web-client/dist/ionic.io.bundle.min.js"></script>

<!-- cordova script (this will be a 404 during development) -->

-- <script src="cordova.js"></script>
++ <!-- Cordova is bootstrapped by ionic-platform-web-client, uncomment this if you remove ionic-platform-web-client... -->
++<!-- <script src="cordova.js"></script> -->

DEllingsworth
@DEllingsworth
May 16 2016 18:59
If you want some dead simple code to test ionic deploy, check out: http://www.theodo.fr/blog/2016/03/its-alive-get-your-ionic-app-to-update-automatically-part-2/