Skip to content
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

Live Reload not working with --basehref #16266

Closed
1 of 15 tasks
mucbits opened this issue Nov 22, 2019 · 3 comments · Fixed by #16416
Closed
1 of 15 tasks

Live Reload not working with --basehref #16266

mucbits opened this issue Nov 22, 2019 · 3 comments · Fixed by #16416
Labels
area: @angular-devkit/build-angular freq1: low Only reported by a handful of users who observe it rarely needs: more info Reporter must clarify the issue type: bug/fix
Milestone

Comments

@mucbits
Copy link

mucbits commented Nov 22, 2019

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • lint
  • update
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

Yes, the previous version in which this bug was not present was: 0.803.13

Description

Live Reload stopped working after this change:
5260bbb#diff-6c0b312b8bd33db747e50549a66f7ab1

https://localhost:xxxx/admin/sockjs-node/info returns 404

while https://localhost:xxxx/admin/admin/sockjs-node/info exists.

🔬 Minimal Reproduction

ng serve app --base-href /admin/ --deploy-url /admin/

🔥 Exception or Error

https://localhost:xxxx/admin/sockjs-node/info returns 404

@ngbot ngbot bot modified the milestone: Backlog Nov 23, 2019
@clydin
Copy link
Member

clydin commented Nov 25, 2019

I am unable to replicate the issue. Tried with a new project using the latest version of 8.x (8.3.19)

npx @angular/cli@8 new livereload-basehref
cd livereload-basehref
ng serve --base-href /admin/ --deploy-url /admin/

Is this reproducible for you in a new project?

@clydin clydin added needs: more info Reporter must clarify the issue and removed severity5: regression labels Nov 25, 2019
@ngbot ngbot bot modified the milestones: Backlog, needsTriage Nov 25, 2019
@ngbot ngbot bot modified the milestones: needsTriage, Backlog Nov 25, 2019
@mucbits
Copy link
Author

mucbits commented Nov 25, 2019

I'm using a .Net Core backend with UseAngularCliServer for development, the project I'm working on is rather large with 3 Angular app. Anyway, in the end it does only run 3 times ng serve in the background and proxy all requests to the right instance.

For the root App Live Reload is working fine, the other two apps with the additional path mapping it is not working anymore.

I'll try to reproduce it on a smaller test project.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular-devkit/build-angular freq1: low Only reported by a handful of users who observe it rarely needs: more info Reporter must clarify the issue type: bug/fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants