Bug: file watching does not pick up components with multiple templateUrl

This issue has been tracked since 2023-02-09.

Please provide the environment you discovered this bug in.

Dev

Which area/package is the issue in?

vite-plugin-angular

Description

If a component file contains multiple components with separate templateUrl files, it only picks up the first one for file watching and doesn't reload on changes to the other template files.

// component.ts
@Component({
  templateUrl: 'template1.html'
})
export class Cmp1 { }

@Component({
  templateUrl: 'template2.html`
})
export class Cmp2 { }

Please provide the exception or error you saw

No response

Other information

No response

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

  • Yes
  • No
More Details About Repo
Owner Name analogjs
Repo Name analog
Full Name analogjs/analog
Language TypeScript
Created Date 2022-07-06
Updated Date 2023-03-28
Star Count 885
Watcher Count 18
Fork Count 67
Issue Count 33

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date