Fix mocha watch config

The watch task for mocha broke in #1377

@jmeas Any idea how we can simplify this code?