gyk001 / hexo-qiniu-sync

Hexo七牛同步插件
MIT License
356 stars 41 forks source link

broken hexo server (v1.4.0) #32

Closed gyk001 closed 8 years ago

gyk001 commented 8 years ago

when enable this plugin, hexo server will not work, no error output ,just like this

$  hexo server
INFO  -----------------------------------------------------------
INFO  qiniu state: online
INFO  qiniu sync:  true
INFO  qiniu local dir:  static
INFO  qiniu url:   http://7u2l8h.com1.z0.glb.clouddn.com/static
INFO  -----------------------------------------------------------
Usage: hexo <command>

Commands:
  clean     Removed generated files and cache.
  config    Get or set configurations.
  deploy    Deploy your website.
  generate  Generate static files.
  help      Get help on a command.
  init      Create a new Hexo folder.
  list      List the information of the site
  migrate   Migrate your site from other system to Hexo.
  new       Create a new post.
  publish   Moves a draft post from _drafts to _posts folder.
  qiniu     Qiniu sync
  render    Render files with renderer plugins.
  version   Display version information.

Global Options:
  --config  Specify config file instead of using _config.yml
  --cwd     Specify the CWD
  --debug   Display all verbose messages in the terminal
  --draft   Display draft posts
  --safe    Disable all plugins and scripts
  --silent  Hide output on console

For more help, you can use 'hexo help [command]' for the detailed information
or you can check the docs: http://hexo.io/docs/
gyk001 commented 8 years ago

_config.yml中添加hexo-server插件即可

plugins:
- hexo-qiniu-sync
- hexo-server
- hexo-renderer-ejs
- hexo-generator-tag