From 544b05ebcd8c6eb6db7cfa7ef725f009ad832efc Mon Sep 17 00:00:00 2001 From: Jesse Rosenberger Date: Fri, 13 Jul 2018 08:54:12 -0700 Subject: [PATCH] docs: Add browser auto-reloading on source content changes. (#442) By virtue of a relatively simple `hexo-browsersync` package[0], which implements BrowserSync[1] in Hexo, this change brings support for automatically reloading the browser when the source content has changed. No more pressing "Reload" in order to see the changes to the Markdown source when working on documentation! :tada: [0]: https://npm.im/hexo-browsersync [1]: https://www.browsersync.io --- docs/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/package.json b/docs/package.json index cebc024c4..100663841 100644 --- a/docs/package.json +++ b/docs/package.json @@ -9,6 +9,7 @@ "apollo-hexo-config": "1.0.8", "chexo": "1.0.5", "hexo": "3.7.1", + "hexo-browsersync": "0.3.0", "hexo-prism-plus": "1.0.0", "hexo-renderer-ejs": "0.3.1", "hexo-renderer-less": "0.2.0",