Speeding up metalsmith with incremental builds

Recently, metalsmith has been slow building my blog. I found myself waiting several seconds between changes. So yesterday I decided to do something about it and I reached to a 500ms build on change. I'd like to share with you what I did.