Like https://github.com/ferlores/cartero-node-hook but synchronous