aymericzip / aymericzip/intlayer
bug angular-intlayer esbuild - Dev server rebuild on add new key
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 833
- Forks
- 126
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 7
Description
Hi @aymericzip
Still seeing the same behavior on latest version.
If you wanna close out esbuild plugin support I think that is fair and this could be a separate thing.
Originally posted by @Dus1988 in #441
The other thing is, and I was dealing with the same behavior in my crude plugin, when I add a new key to a dictionary, it is triggering Angular dev server rebuild, however, if I try to use it in a template I get a compile error saying the new key does not exist. It's fine if I close and trigger a new serve. Seems like maybe the intlayer generation finishes fine for ide types, but the compiled app does not see the type on rebuild.
Can you clarify the issue ? Getting a screen recording would be nice
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported Angular dev-server rebuild after adding a new dictionary key, then compare the generated IDE types with what the compiled app sees during the rebuild. Capture the requested screen recording and clarify the exact reproduction steps; done means the new key is usable in an Angular template without restarting the dev server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100