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

Please merge PR to support path-based location strategy in local dev "ionic serve" #974

Open
@lincolnthree

Description

@lincolnthree

Note: for support questions, please use one of these channels:

https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/

Short description of the problem:

When using path based location strategy (not hash), path based routing results in 404s when dynamic reloading occurs after making any code changes during development.

What behavior are you expecting?

This:

#916

Steps to reproduce:

  1. Use path-based routing
  2. Navigate to a deep-link
  3. Make a code change, webpack hot-reload fails with 404
insert any relevant code between the above and below backticks

Which @ionic/app-scripts version are you using?
1.3.7

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
This pull request fixes the issue quite nicely.

#916

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