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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: fix livereload deprecation warning
jingsam committed Jul 19, 2018
commit 571b222dc48de42a7c727f5cd981898c9e73c8b9
2 changes: 1 addition & 1 deletion lib/commands/serve.js
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ module.exports = function (path, openInBrowser, port, livereloadPort) {
server.use(serveStatic(path))
server.listen(port)
lrserver.createServer({
exts: ['md'],
extraExts: ['md'],
exclusions: ['node_modules/'],
port: livereloadPort
}).watch(path)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@
"docsify": ">=3",
"docsify-server-renderer": ">=4",
"fs-extra": "^2.1.2",
"livereload": "^0.6.2",
"livereload": "^0.7.0",
"lru-cache": "^4.1.1",
"open": "^0.0.5",
"serve-static": "^1.12.1",