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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service worker broken when ng build with custom base href #15025
Comments
@gkalpak, I think this might be some related more to the |
Hard to tell what this is related with, without a minimal reproduction. (For example, the SO question mentions I would be happy to investigate this, if someone can provide a minimal reproduction (i.e. a ZIP file I can download or a repo I can check out and run a command to see the problem). |
@jscti, it would be great if you can provide a minimal repo to speed up the process in looking into the issue. Thanks |
Same thing on Angular CLI 7.3.6, any update? |
This might help: |
Closing as a reproduction has not been provided. If this issue is still present in the latest version of Angular. Please open a new issue with a minimal reproduction. Thanks. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
馃悶 Bug report
Command (mark with an
x
)Is this a regression?
Don't know
Description
Service worker isn't registered (ngsw-worker.js never called) when building with a custom --base-href.
Related stackoverflow post : https://stackoverflow.com/questions/53329924/angular-7-service-worker-not-registered
Related closed issue : #13351
馃敩 Minimal Reproduction
On localhost, I have 2 apps :
ng build --project=projectA
ng build --project=projectB --base-href=/projectB/
Manifest reflects this with start_url and scope to "/projectB"
馃敟 Exception or Error
馃實 Your Environment
Tried to :
The text was updated successfully, but these errors were encountered: