marp-team / marp-cli

A CLI interface for Marp and Marpit based converters
MIT License
1.9k stars 108 forks source link

Can't watch md file when passed a theme #575

Closed imam closed 5 months ago

imam commented 5 months ago

I don't know why but when I pass theme to marp, I can't watch the markdown file. I use WSL, marp version : @marp-team/marp-cli v3.4.0

Thanks!

imam@LAPTOP-D7FIBRUR:~/proposal-investasi$ marp --theme style/descartes.css -w proposal.md
(node:169505) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[  INFO ] Converting 1 markdown...
[  INFO ] proposal.md => proposal.html
[  INFO ] [Watch mode] Start watching...
imam@LAPTOP-D7FIBRUR:~/proposal-investasi$ marp  -w proposal.md
(node:169693) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[  INFO ] Converting 1 markdown...
[  INFO ] proposal.md => proposal.html
[  INFO ] [Watch mode] Start watching...
[  INFO ] proposal.md => proposal.html
[  INFO ] proposal.md => proposal.html
imam commented 5 months ago

Hmm for some reason when I put the style on the same directory it works. Well this works for me, thanks anyway!