You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a markdown and a CSS file in Vim / NeoVIm (e.g: slide.md and theme.css)
Edit and save
Open another tab in the terminal, and run marp ./slide.md --theme ./theme.css --preview
Edit markdown file again, and save
Expected behavior
Saving will be reflected on the preview window.
Actual behavior
Saving is not reflected on the preview window. It does not change.
Additional information
When I tried this in VS Code terminal (using Marp-CLI, not VSCode extention one), the saving was reflected on preview window.
However, when I use another terminals such as WezTerm and iTerm2, this issue occured.
The text was updated successfully, but these errors were encountered:
konekotech
changed the title
Watching does not work in a specific situation
Watch-mode does not work in a specific situation
Jan 25, 2025
I have tried to reproduce on iTerm2, and I met only first once that the file change event was not fired. When tried the exactly same operation after logged out from macOS, I've confirmed that the file change event is correctly tracking in all of 4-5 times try. Probably it would mean that the difference of using terminal emulator is not root cause of that issue.
Some issues about watching file system has been reported before, but any issue was not resolved clearly.
Version of Marp Tool
Marp CLI v4.1.1
Operating System
macOS
Environment
How to reproduce
slide.md
andtheme.css
)marp ./slide.md --theme ./theme.css --preview
Expected behavior
Saving will be reflected on the preview window.
Actual behavior
Saving is not reflected on the preview window. It does not change.
Additional information
When I tried this in VS Code terminal (using Marp-CLI, not VSCode extention one), the saving was reflected on preview window.
However, when I use another terminals such as WezTerm and iTerm2, this issue occured.
The text was updated successfully, but these errors were encountered: