Search code examples
angularjsionic-frameworkcloud9-ide

Why does it take long to load an ionic project in cloud9?


I am working in a cloud IDE (cloud9) and have followed the instructions on their website to start an Ionic app (https://docs.c9.io/frameworks_ionic.html):

 $ npm install -g cordova ionic
 $ ionic start myApp tabs
 $ cd myApp
 $ ionic serve $PORT

Doing so, when I go to my page that the server points to, it takes up to one minute to load the page. Is this normal because I am in a cloud environment or is there something fishy? When I do simple projects with AngularJS it loads it immediately...


Solution

  • Ionic team member here. So this is most likely because you are using a cloud based IDE.

    Starting a sample app locally and running ionic serve produces no where close to a one minute load time. This probably because Cloud9 wasn't build to handle a live reload from their servers, to a users machine.