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

weird livereload issues #1369

Closed
imhoffd opened this issue Jan 17, 2018 · 3 comments
Closed

weird livereload issues #1369

imhoffd opened this issue Jan 17, 2018 · 3 comments

Comments

@imhoffd
Copy link
Contributor

imhoffd commented Jan 17, 2018

@GGalizzi on 2018-01-10T15:44:37Z:

Description:

When saving a view (html) it seems to load an old version of a previously changed page.ts file.

Steps to Reproduce:

  1. Have some FooPage

  2. Edit foo.html with something that uses some function, example: {{ bar() }}

  3. Correctly displays bar is not a function error.

  4. Add the bar function to the corresponding ts file.

  5. Stuff works as expected.

  6. Make any other change in the html, or no change at all, a write to trigger the livereload. (or a change in app.html, or some component html)

  7. Get the bar is not a function error.

  8. Trigger a write on the ts file.

  9. It finds the bar function.

My ionic info:

cli packages: (/home/ggalizzi/.npm-globals/lib/node_modules)

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.1.5
    Cordova Platforms  : android 7.0.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    Node : v9.3.0
    npm  : 5.6.0
    OS   : Linux 4.4

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

Other Information:

I'm on WSL Windows 10 (a.k.a Ubuntu on Windows)

Things I tried finding stuff around:

  • Open related ports in windows firewall

  • Downgrade cli (3.15.0)

  • Change the ports server uses.

  • Tried upping max_user_watches limit, but found out WSL supposedly has no limit on it

  • I'm sorry if this is a duplicate, I found other issues regarding live reload, but I am unsure if they are related.

Any help or ideas would be greatly appreciated.

Thank you.

@imhoffd
Copy link
Contributor Author

imhoffd commented Jan 17, 2018

Issue persists with latest app-scripts (3.1.7).

@mburger81
Copy link
Contributor

Should be same as this old ignored issue #1132

@imhoffd
Copy link
Contributor Author

imhoffd commented Jan 19, 2018

Thanks, @mburger81
Duplicate of #1132

@imhoffd imhoffd closed this as completed Jan 19, 2018
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

2 participants