Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

@ionic/app-scripts 2.0.0 live update not work #1095

Closed
brandyscarney opened this issue Jul 10, 2017 · 2 comments
Closed

@ionic/app-scripts 2.0.0 live update not work #1095

brandyscarney opened this issue Jul 10, 2017 · 2 comments

Comments

@brandyscarney
Copy link
Member

From @condorman on July 10, 2017 8:59

Hi,
i upgrade to "@ionic/app-scripts" to 2.0.0, i remove "node_modules" and reinstall "npm -i".
When i run my application: "ionic cordova run android -l" and save my "TS" I not see the changes.

Thank you!

Copied from original issue: ionic-team/ionic2-app-base#176

@danbucholtz
Copy link
Contributor

This should be fixed in nightly. Please try and let me know how it goes. If you have a custom webpack config, make sure you're updating it to only use ModuleConcatenationPlugin for prod builds.

npm install @ionic/app-scripts@nightly

Thanks,
Dan

@condorman
Copy link

Strange error:
cmd "ionic cordova run android -l"

a) if i change html content => live update ok!
b) if i insert "log.console("enter")" in constructor() of page => live update ok!
c) if i insert "log.console("enter function")" in a function of page.ts and call this funcion => live update not work!. if I recompile "ionic cordova run android -l" and call this function "log message" work fine.

thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants