Skip to content

Commit 5ff1530

Browse files
Build/Test Tools: Ignore third-party plugins in grunt watch task.
This aims to avoid a `JavaScript heap out of memory` fatal error when running `npm run dev`. Follow-up to [25001]. Props SirLouen, desrosj, tusharbharti, ankitkumarshah, SergeyBiryukov. Fixes #63606. git-svn-id: https://develop.svn.wordpress.org/trunk@61475 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8099762 commit 5ff1530

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Gruntfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,9 @@ module.exports = function(grunt) {
12991299
SOURCE_DIR + '**',
13001300
'!' + SOURCE_DIR + 'js/**/*.js',
13011301
// Ignore version control directories.
1302-
'!' + SOURCE_DIR + '**/.{svn,git}/**'
1302+
'!' + SOURCE_DIR + '**/.{svn,git}/**',
1303+
// Ignore third-party plugins.
1304+
'!' + SOURCE_DIR + 'wp-content/plugins/**'
13031305
],
13041306
tasks: ['clean:dynamic', 'copy:dynamic'],
13051307
options: {

0 commit comments

Comments
 (0)