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 functionality to watch a directory and rebuild targets on file changes #24

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

nleroy917
Copy link
Member

@nleroy917 nleroy917 commented Mar 25, 2023

It's nice not to have to worry about continuously hitting Enter when iterating on a piece of writing. So, I added a small feature to the markmeld cli that lets you specify a --watch option for a given target to watch for any file changes in the current directory. (e.g. mm manuscript --watch)

Now, as you make changes and save, markmeld will auto-build your files for you. I suppose that this could actually be annoying if you have many pre-build steps + lots of targets, but it's nice to have when iterating quickly.

This addresses what I raised in #23

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

Successfully merging this pull request may close these issues.

1 participant