Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why my Ionic CLI commands are a lot slower than Cordova?

I'm using ionic 2.0.0-beta.37, cordova 6.2.0 and node 6.2.0 on OSX 10.11.4

cordova platform list | time ionic platform list

real  0m19.449s       |    real   1m16.809s
user  0m0.890s        |    user   0m2.711s
sys   0m0.166s        |    sys    0m0.685s

cordova plugin list | ionic plugin list

real  0m0.587s        |    real   0m41.768s
user  0m0.503s        |    user   0m2.362s
sys   0m0.055s        |    sys    0m0.891s

Why Ionic CLI is so much slower?

like image 554
Devid Farinelli Avatar asked Sep 07 '16 12:09

Devid Farinelli


1 Answers

I was also facing speed issue when i do ionic serve, tried disabling live reload, not much helpful.

I found this answer on ionic forum, I do notice some speed improvement while doing ionic serve

Try doing npm rebuild node-sass

like image 191
Anjum.... Avatar answered Sep 21 '22 02:09

Anjum....