Skip to content

Node.js based forum software built for the modern web

fix grunt paths for core less files

psychobunny70887c5f78a6
diff --git a/Gruntfile.js b/Gruntfile.js
index 8b352d9d4b..33c21954e3 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -73,7 +73,8 @@ module.exports = function (grunt) {
watch: {
lessUpdated_Client: {
files: [
- 'public/*.less',
+ 'public/less/*.less',
+ '!public/less/admin/**/*.less',
'node_modules/nodebb-*/*.less', 'node_modules/nodebb-*/**/*.less',
'!node_modules/nodebb-*/node_modules/**',
'!node_modules/nodebb-*/.git/**',
@@ -84,7 +85,7 @@ module.exports = function (grunt) {
},
lessUpdated_Admin: {
files: [
- 'public/*.less',
+ 'public/less/admin/**/*.less',
'node_modules/nodebb-*/*.less', 'node_modules/nodebb-*/**/*.less',
'!node_modules/nodebb-*/node_modules/**',
'!node_modules/nodebb-*/.git/**',