search

Home  >  Q&A  >  body text

node.js - hexo发布博客后需要重新hexo serve?

前几天用hexo创建了一博客,但是每次我新发布文章时文章在前台都不会显示,必须得重新hexo serve才显示,求解,怎么方便的发文章?

PHPzPHPz2873 days ago489

reply all(2)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 15:39:22

    I usually write the article once, preview it in hexo s, and then publish it

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 15:39:22

    hexo server -s only opens the static file server (that is, the public directory is the root directory) without the watch function.
    hexo server Turn on the default server, which has a watch function. If the markdown file is modified, it will be automatically compiled.

    reply
    0
  • Cancelreply