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 watch mode #18

Merged
merged 6 commits into from
Sep 16, 2018
Merged

Add watch mode #18

merged 6 commits into from
Sep 16, 2018

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Sep 16, 2018

This PR will add the basic watch mode by --watch (-w) option, powered by chokidar.

Watcher class will watch passed markdown files and directories. Currently we cannot trigger auto-reloading of HTML. We're going to support it on another PR. (Server mode support, or injecting live-reload JS by template)

@yhatt yhatt merged commit 8be2b64 into master Sep 16, 2018
@yhatt yhatt deleted the watch-mode branch September 16, 2018 17:41
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