Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -w —watch mode #40

Open
zakhenry opened this issue Aug 19, 2019 · 2 comments
Open

Add -w —watch mode #40

zakhenry opened this issue Aug 19, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@zakhenry
Copy link
Owner

zakhenry commented Aug 19, 2019

It would be really useful to be able to start embedme in watch mode so that I can be editing the source code files and see the markdown document update automatically.

Things to consider

  • cross platform file watching
  • should only watch files that are embedded
  • deregister from watch when file is removed
@zakhenry zakhenry added the enhancement New feature or request label Aug 19, 2019
@zakhenry zakhenry added the Hacktoberfest https://hacktoberfest.digitalocean.com label Oct 8, 2019
@zakhenry zakhenry removed the Hacktoberfest https://hacktoberfest.digitalocean.com label Jan 1, 2020
@k-tten
Copy link

k-tten commented Jun 19, 2021

@zakhenry you can use chokidar-cli like so:

$ chokidar "docs/**/*.md" -c "embedme \"docs/**/*.md\""

@k-tten
Copy link

k-tten commented Jun 19, 2021

waaaait a minute you're the creator! thank you for this im enjoying using it!

heh i dont think this is necessary as chokidar is sufficient and i dont mind the extra characters i have to type

thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants