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

Support auto-reload of user theme CSS in watch mode #22

Merged
merged 8 commits into from
Sep 19, 2018
Merged

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Sep 19, 2018

This PR will support auto-reload of user theme CSS specified by --theme-set option in watch mode.

After rendering Markdown to HTML, we track the change of used theme CSS. When you have updated observed CSS, an auto-reloading is triggered to markdowns that has used updated theme.

autoreload

We have refactored the way of management user-created themes, using ThemeSet class.

@yhatt yhatt merged commit 00b6e96 into master Sep 19, 2018
@yhatt yhatt deleted the watch-theme-css branch September 19, 2018 06: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