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

fix: fix livereload deprecation warning #38

Merged
merged 1 commit into from
Jul 19, 2018

Conversation

jingsam
Copy link
Contributor

@jingsam jingsam commented Jul 19, 2018

Since livereload v0.6.3, we get the warning:

$ docsify serve ./docs --open
*** DEPRECATION WARNING *** The exts option will REPLACE extensions in 0.6.4. ***

As the author of livereload commented: in the next version, the exts option will REPLACE all the default extensions with only what you specify. That means exts: ['md'] will only watch markdown files. If we want to also watch default extensions, we should use extraExts: ['md'].

This PR upgrade livereload and use extraExts option to fix the warning.

@QingWei-Li QingWei-Li merged commit 0ca8b83 into docsifyjs:master Jul 19, 2018
@jingsam jingsam deleted the livereload branch July 19, 2018 09:15
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.

2 participants