Hi, after a little bit of dropping this out I found this post that was talking exactly about this, and I’ll share to people like me to know “You are not alone” and this a known issue you cand read Mike from Ionic team explanation about this.
Hi, how are you all doing?
I wanted to share my experience with the migration. In a broad way I have been following up with beta releases since beta8 aprox. I updated my app subsequently, with almost no effort thanks to the great changelogs and instructions.
I started developing with Ionic2 in beta because the overall development was blazing fast and amazingly stable.
And thats a great part into reason of using it, a couple of hacks here and there and i got everything working. What I miss more about the beta is Gulp during development. For exactly the same project same computer same views and everything, gulp took at max 6 seconds to build deploy the changes to the browser. While rollup is taking aprox 45 seconds, when a HTML gets changed it bundles ALL again and makes no distinction. With the beta I used to change a CSS only the sass was recompiled and refreshed in the browser. Thing that no longer happens with default rollup process.
[20:45:30] sass started …
[20:45:30] sass finished in 35 ms
[20:45:30] templateUpdate finished in 44.38 s
[20:46:25] templateUpdate started …
[20:46:25] bundle dev update started …
JS changed: C:\Users\devarg\Documents\dev\Project\app\www\build\main.js
[20:47:16] bundle dev update finished in 51.33 s
[20:47:16] sass started …
[20:47:16] sass finished in 39 ms
[20:47:16] templateUpdate finished in 51.37 s
I think that this must be in favor of new features like tree shaking, that must take time to analyze each and every library that connects to the module and do the shaking there too. But, (if the tree shaking algorithm is secure) do we need tree shaking while developing? Much of developing with Ionic is deeply caring about UI and UX, whose process must be blazing fast to not become a bottleneck in tuning, fixing and developing with it.
Please correct me if i’m wrong, i’d also like to hear your thoughts on the migration if you are in a similar situation to me.