Skip to content

Node.js based forum software built for the modern web

feat: allow only watching core

Barış Soner Uşaklı451c7fd4b6b2
diff --git a/Gruntfile.js b/Gruntfile.js
index 176dcee5fe..a08ac32bae 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -116,6 +116,10 @@ module.exports = function (grunt) {
plugins.push('nodebb-plugin-composer-default');
}
+ if (process.argv.includes('--core')) {
+ plugins = [];
+ }
+
const lessUpdated_Client = plugins.map(p => 'node_modules/' + p + '/**/*.less');
const lessUpdated_Admin = plugins.map(p => 'node_modules/' + p + '/**/*.less');
const clientUpdated = plugins.map(p => 'node_modules/' + p + '/**/*.js');