-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Too much CPU cycles & memory on Gulp watch after the latest cli updates #428
Comments
Upgrading to CLI 1.4.4 to see if it makes any difference. Edit: it's even worse than what it was!
|
I'm upgrading Chrome to latest stable release, and updated node to 0.12.3 .. will test and return. |
Still occurs with Chrome 43.0.235x, Ionic CLI 1.4.4, node 0.12.3. |
@SecuriTeam Is the slowness with gulp watch? What version was this working fine in before you noticed the slowness? I'd like to compare what changes have been made since then. What tasks are outlined in your |
Hello, I've just compiled and pushed a new dev/release version to my phone.. Perhaps it's bad coding on my side, so I'll get a closer look on logcat first. @jbavari apparently it's not gulp or the watcher fault.. I was using afair 1.3.x (can't remember the exact version), but whenever cli warned me about new versions I would go ahead and install them immediately. Can't say if it happened because an update but it only started very recently. my gulp default task only runs 'sass' task which is as follow
my custom scss file might be a bit big (with lots of imports) so it might take a little longer than 11sec (depends on my hardware after all). Anyway, with the unexpected results that I started experiencing recently showing up on my phone, I'm starting to think it might be some bad coding.. logcat should def. give me a better insight. Will keep you posted. |
OK, I've noticed this so far.. Logcat shows this as the last [ERROR] captured.
|
Just taking a wild stab at this.. are you using the local notifications plugin? If so, have you seen this issue on the local notifications issue tracker? Perhaps its related? |
Hey man, No I'm not using the local notification plugin.. here is a list of my plugins:
I have seen this issue yesterday while searching for the error messages that I've noticed in logcat.. I haven't had an issue with my app's root state code, (which all my ui-routes inherit from), but I'm starting to wonder if my network status monitoring functionality is related, or not.. I'll keep searching for a root cause because it hit me out of nowhere. Thanks for the follow up. |
argh.. Here is my app's logcat .. maybe you can see something interesting to help us out :( P.S: it seems the issue reoccur whenever I logout the user, then try to log back in.. |
Low and behold! Man! Closing this now as resolved, and thank you for your time into trying to look into this. |
Hello,
I'm experiencing too much CPU & memory usage after the latest cli updates..
I've come to notice that it occurs when there are rapid notifications to the gulp watch process due to rapid change/save.
It happens a lot and each time I have to kill the live reload and initiate another because my browser tab/window become unresponsive.
If there is anyway to provide you with logs or something, please help me help you.
The text was updated successfully, but these errors were encountered: