Skip to content

Livereload doesn't work on browser platform #3171

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

Closed
gbbarroso opened this issue May 16, 2018 · 1 comment
Closed

Livereload doesn't work on browser platform #3171

gbbarroso opened this issue May 16, 2018 · 1 comment

Comments

@gbbarroso
Copy link

gbbarroso commented May 16, 2018

Description:
I need to use ionic cordova run browser --livereload instead of ionic serve so I can work better with some native plugins. However, unlike the ionic serve it doesn't auto reaload (and going by the command output, it does seem like it should be working). It doesn't even work with manually refreshing the page..

Steps to Reproduce:
ionic cordova run android --livereload
Make html or js changes on your project
Verify them on http://localhost:8001

My ionic info:


cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0 

local packages:

    @ionic/app-scripts : 3.1.9
    Cordova Platforms  : android 7.1.0 browser 5.0.3
    Ionic Framework    : ionic-angular 3.9.2

System:

    Node : v10.1.0
    npm  : 5.6.0 
    OS   : macOS High Sierra

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro
@ionitron-bot ionitron-bot bot added the triage label May 16, 2018
@imhoffd
Copy link
Contributor

imhoffd commented May 16, 2018

@gbbarroso This is a highly reported issue. Please see #3043 for livereload support w/ the Cordova browser platform and this reasoning as to why it's not being prioritized at the moment: #2312 (comment)

@imhoffd imhoffd closed this as completed May 16, 2018
@imhoffd imhoffd removed the triage label May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants