From 195342f7dbba34512cef9c91af43551a22b464f4 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Thu, 6 Sep 2018 15:16:43 +0100 Subject: [PATCH] Fix grunt dev actions for json files --- Gruntfile.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index b5b221e6b..44abf1e40 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -225,9 +225,9 @@ module.exports = function(grunt) { jsonlint: { messages: { src: [ - 'nodes/core/locales/en-US/messages.json', - 'red/api/locales/en-US/editor.json', - 'red/runtime/locales/en-US/runtime.json' + 'packages/node_modules/@node-red/nodes/locales/**/*.json', + 'packages/node_modules/@node-red/editor-api/lib/editor/locales/**/*.json', + 'packages/node_modules/@node-red/runtime/locales/**/*.json' ] }, keymaps: { @@ -280,9 +280,9 @@ module.exports = function(grunt) { }, json: { files: [ - 'nodes/core/locales/en-US/messages.json', - 'red/api/locales/en-US/editor.json', - 'red/runtime/locales/en-US/runtime.json' + 'packages/node_modules/@node-red/nodes/locales/**/*.json', + 'packages/node_modules/@node-red/editor-api/lib/editor/locales/**/*.json', + 'packages/node_modules/@node-red/runtime/locales/**/*.json' ], tasks: ['jsonlint:messages'] }, @@ -308,7 +308,8 @@ module.exports = function(grunt) { args: nodemonArgs, ext: 'js,html,json', watch: [ - 'packages/node_modules' + 'packages/node_modules', + '!packages/node_modules/@node-red/editor-client' ] } }