emit a hash event every time the hash changes
updated example
0.3.2