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

Browser does not reload with ts references #722

Open
2 tasks
vitalikyarina opened this issue Dec 28, 2024 · 0 comments
Open
2 tasks

Browser does not reload with ts references #722

vitalikyarina opened this issue Dec 28, 2024 · 0 comments

Comments

@vitalikyarina
Copy link

With what library do you have an issue?

native-federation

Reproduction of the bug/regression with instructions

I have tsconfig with ts references like this
{
"compilerOptions": {
"paths": {
"@core/": ["src/app/core/"],
"@ng/ui/menu": ["../../shared/angular/components/menu"]
}
},
"references": [
{ "path": "../../shared/angular/core/tsconfig.lib.json" },
{ "path": "../../shared/angular/components/tsconfig.lib.json" }
]
}

  1. pnpm start
  2. Change something in ../../shared/angular/components/menu/*
    image
  3. Check changes in browser

Expected behavior

When do point 2 the build works good, all changes is on dist directory but page doesn't reload, if i reload myself everything works
I thinks its must reload page if some changed in references libs

Versions of Native/Module Federation, Angular, Node, Browser, and operating system

"@angular-architects/native-federation": "^19.0.2",
"@angular/core": "^19.0.5",
node: 20.16.0,
Google Chrome: 131.0.6778.205
Windows 11 23H2

Other information

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant