feat: allow only watching core

v1.18.x
Barış Soner Uşaklı 5 years ago
parent 9b4ae4c04a
commit 451c7fd4b6

@ -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');

Loading…
Cancel
Save