else
next()
+# Handle webhook notification to reload files
+app.all '/webhook/post-update', (req, res) ->
+
+ # exec the pull async...
+ console.log '[/webhook/post-update] $ git pull origin master'
+ child = exec 'git pull origin master', (err, stdout, stderr) ->
+ console.log '[/webhook/post-update] ', stdout
+ console.log '[/webhook/post-update] ', stderr
+ console.error '[/webhook/post-update] ERROR!', err if err
+
+ # ...but return ok to caller right away
+ res.send 'ok!', 200
+