added watch parameter in mocha