Skip to content

bug v2: "ionic run browser --livereload" is not refreshing the app after changes #790

@sebastianovide

Description

@sebastianovide
  • to reproduce
    • run ionic run browser --livereload
    • modify a html or ts file
  • expected
    • the app should change. Refreshing the browser you should see the changes
  • instead
    • the console shows that the file changes is being copied by the changes are not reflected in the app. It is still necessary to ctrl+c and restart it
  • workaround: after the change, wait until when the console shows the file changed and then rsync -rtv www/ platforms/browser/www or run another file watcher: fswatch -r www/ | xargs -I % rsync -rtv www/ platforms/browser/www
  • workaround 2 ./node_modules/.bin/ionic-app-scripts serve --sourceMap source-map --iscordovaserve --wwwDir platforms/browser/www/ --buildDir platforms/browser/www/build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions