Is there a callback for when the build is complete? #5500
Unanswered
FurryRbl
asked this question in
Question / Answer
Replies: 1 comment 1 reply
-
You don't need to wait for the build to finish before generating a searchable database. Checkout the implementation here: https://github.com/next-theme/hexo-generator-searchdb |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently working on a searchable database of all pages, but I didn't find any callback API provided by Hexo for when the build is complete. I don't know if there is a better implementation other than Node's own
process.on('exit' () => {}) callback
.This is my current code (testing):
Beta Was this translation helpful? Give feedback.
All reactions