aymericzip / aymericzip/intlayer
Watcher ignores `file` node related file
Open
Nobody has claimed this yet.
feature
- Dominant language
- TypeScript
- Stars
- 833
- Forks
- 126
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 7
Description
Hi,
I noticed that the watcher doesn’t work with .md files.
After every change, I have to delete the .intlayer folder and restart the server.
Here's my code:
import {type Dictionary, t, file, md} from 'intlayer';
const document = file('./document.md');
const pageContent = {
key: 'legal.company',
content: t({
ru: {
document: md(document)
}
})
} satisfies Dictionary;
export default pageContent;
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
Reproduce the watcher failure with the provided TypeScript example and a related document.md file. Trace the watcher handling for file nodes and verify whether changes to the referenced Markdown file are detected. Done means edits are picked up without deleting the .intlayer folder or restarting the server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100