bug: Watch mode only works once
See original GitHub issueContext:
- version (
md-to-pdf -v
): 3.2.1 - platform (Unix, macOS, Windows): Windows
- node version: v10.18.0
Describe the bug:
The watch mode only works the first time after it generates an empty PDF.
A clear and concise description of what the bug is. Feel free to include screenshots.
- Create a
documentation.md
file - Run
md2pdf documentation.md --watch
- Open the PDF and see that’s it is generated correctly ✔️
- Make a change to
documentation.md
- Open the PDF file and see that’s it is generated correctly ✔️
- Make a change to
documentation.md
- Open the PDF file and see that’s the file empty now ❌
- You can repeat step 6 and 7 several time the file will always be empty now ❌
The problem occurs also when adding --as-html
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (10 by maintainers)
Top Results From Across the Web
Most common Samsung Galaxy Watch 4 problems and how to ...
Watch-only mode will turn the Galaxy Watch 4 into a simple timepiece. To activate it, open Settings > Battery > Watch only. Tap...
Read more >Galaxy watch 4 bugs and requests after 2 months use
Watch only mode is useless only shows time. - Watch had sleep tracking issues on 2 days out of 20 days. Once, I...
Read more >Sleep App Bug - Watch Keeps Going into Sl…
In the Apple Watch app on my phone, I selected "Sleep" and under "Sleep Mode," I toggled "Turn On Automatically" to "off," and...
Read more >The Most Common Wear OS Problems and How to Fix Them
1. Start off by rebooting your watch and your smartphone and see if it makes a difference. Go to Settings > Restart on...
Read more >Apple Watch Troubleshooting: Common Problems and Solutions
After turning the Apple Watch back on, or sometimes after using Airplane mode, the Apple Watch may give you a No iPhone error....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t think I’ll provide a default value here because I can’t even reproduce the issue at all on macOS so it’s probably not even necessary for a good chunk of the users. But thanks for confirming that this fixes it, i’ll see that I make a commit and release this soon.
Thank you @simonhaenisch for your help on this problem.
I will do the upgrade tomorrow at work