Hexo inherits from EventEmitter. Use the
on method to listen for events emitted by Hexo, and use the
emit method to emit events. For more information, refer to the Node.js API documentation.
Emitted before deployment begins.
Emitted after deployment finishes.
Emitted before Hexo exits.
Emitted before generation begins.
Emitted after generation finishes.
Emitted after a new post has been created. This event returns the post data:
||Full path of the post file|
||Content of the post file|
Emitted before processing begins. This event returns a path representing the root directory of the box.
Emitted after processing finishes. This event returns a path representing the root directory of the box.
Emitted after initialization finishes.