Skip to content

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