Add hot reload. Only works on OS X.