Generating static files with Hexo is quite easy and fast.
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.
To deploy after generating, you can run one of the following commands. There is no difference between the two.