hexo-generator-json-content icon indicating copy to clipboard operation
hexo-generator-json-content copied to clipboard

Option to disable json generation when using hexo server

Open Buzut opened this issue 5 years ago • 2 comments

As when using Hexo server we often look for speed over everything, it could be a really nice option to be able to disable json generation when using the local webserver (watch mode).

Buzut avatar May 06 '20 12:05 Buzut

Hmmm... Interesting. There is an issue (#38) which reports that the JSON file isn't generated when hexo serve. I can't check it yet, but here I can suppose that JSON is generated. And you are asking to stop generate... If yes, how can we test the JSON file when serving in development?

alexbruno avatar May 20 '20 17:05 alexbruno

It is indeed a very good question and use case I hadn't thought about. Maybe a flag could do, but I just wonder if it's worth it…

Buzut avatar Aug 07 '20 10:08 Buzut