TypeError: Cannot read property 'result' of undefined in grunt watch