Build Tools: upgrade `grunt-browserify` to `~4.0.0` and remove the `watch` task for `browserify`, which has its own internal watcher. Run `npm install` to update.

Props iseulde.
Fixes #31911.


git-svn-id: https://develop.svn.wordpress.org/trunk@34888 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-10-07 00:00:00 +00:00
parent 24cc3db43a
commit bec5838166
2 changed files with 2 additions and 11 deletions

View File

@ -545,16 +545,6 @@ module.exports = function(grunt) {
interval: 2000
}
},
browserify: {
files: [
SOURCE_DIR + 'wp-includes/js/media/**/*.js',
'!' + SOURCE_DIR + 'wp-includes/js/media/*.manifest.js'
],
tasks: ['browserify', 'copy:dynamic'],
options: {
spawn: false
}
},
config: {
files: 'Gruntfile.js'
},
@ -686,6 +676,7 @@ module.exports = function(grunt) {
}
src = [ path.relative( SOURCE_DIR, filepath ) ];
if ( action === 'deleted' ) {
grunt.config( [ 'clean', 'dynamic', 'src' ], src );
} else {

View File

@ -11,7 +11,7 @@
"devDependencies": {
"autoprefixer-core": "~5.2.1",
"grunt": "~0.4.5",
"grunt-browserify": "~3.8.0",
"grunt-browserify": "~4.0.0",
"grunt-contrib-clean": "~0.6.0",
"grunt-contrib-compress": "~0.13.0",
"grunt-contrib-concat": "~0.5.1",