hexojs / hexo-server

Server module for Hexo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hexo 3.1 : How to unwatch file change ?

morris821028 opened this issue · comments

below this command, show rendered articles in public dictionary.

$ hexo server -s

I found that if change markdown file, and hexo server show old data in expect. However, why nodejs run in background and spend a lot of CPU and Memory.

monitor Evented I/O for V8 javascript, right ?

The node instance was still there to serve your files to browser.
With -s it is not watching your file and does not consume much resources.
Please provide statistics if it does otherwise.

That said, hexo command would certainly use more resource than pure static HTTP servers like http-server, ecstatic.
You can use them to server public/ instead of using hexo-server.