[Feature] For Marktext in Windows, notify of external changes made to files in WSL
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 61.6k
- Forks
- 4.6k
- Avg merge
- 23h 49m
- Merged PRs (30d)
- 89
Description
Summary
When using Marktext in Windows, notify of external changes made to files in WSL and offer reload option.
Problem it solves
Files in WSL open and edit in Windows Marktext. But when files are modified by another program, the notification banner with reload option does not appear. (That only works when the file is stored on the Windows side, not WSL.)
Issue #2168 indicates there was a comment somewhere about the WSL cross-system issue, but I couldn't find it to link to.
Proposed solution
Implement the same notification banner plus reload option.
Alternatives considered [optional]
At minimum, it could be useful to have Reload as an option from the File menu, although it would be better to be notified when external changes are made.
Additional context [optional]
Marktext v0.19.1 installed on Windows 11.
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
No file or test is named. Start by tracing the existing external-change notification and reload behavior on Windows, then reproduce it with a file stored in WSL and modified by another program. Done means Marktext shows the notification banner and offers reload for those changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100