Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 543 Bytes

generating.md

File metadata and controls

24 lines (17 loc) · 543 Bytes

title: Generating

Generating static files with Hexo is quite easy and fast.

$ hexo generate

Watch for File Changes

Hexo can watch for file changes and regenerate files immediately. Hexo will compare the SHA1 checksum of your files and only write if file changes are detected.

$ hexo generate --watch

Deploy After Generating

To deploy after generating, you can run one of the following commands. There is no difference between the two.

$ hexo generate --deploy
$ hexo deploy --generate