diff --git a/lib/grunt/plugins.js b/lib/grunt/plugins.js index 87c4719b0d65..58455d48d988 100644 --- a/lib/grunt/plugins.js +++ b/lib/grunt/plugins.js @@ -35,7 +35,7 @@ module.exports = function(grunt) { grunt.registerTask('docs', 'create angular docs', function(){ - var gruntProc = shelljs.exec('node_modules/gulp/bin/gulp.js --gulpfile docs/gulpfile.js'); + var gruntProc = shelljs.exec('"node_modules/.bin/gulp" --gulpfile docs/gulpfile.js'); if (gruntProc.code !== 0) { throw new Error('doc generation failed'); }