marp-team / marp-team/marp-cli
Watch mode doesn't watch all files
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 3.8k
- Forks
- 194
- Avg merge
- 2h 51m
- Merged PRs (30d)
- 3
Description
It seems only changes to *.md files will be watched. For example, changes to images will not be watched.
Steps to reproduce
- Create a simple
index.mdthat referencesimage.pngon a slide. - Execute
marp -psw . - Change
index.md-> Preview updates ☑️ - Change
image.png-> Preview does not update ❎
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 issue with marp -psw . using an index.md that references image.png. Trace how watch mode chooses files to monitor. Done means changing the image causes the preview to update just as changing index.md does.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100