mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix grunt dev actions for json files
This commit is contained in:
parent
cfaaef7860
commit
195342f7db
15
Gruntfile.js
15
Gruntfile.js
@ -225,9 +225,9 @@ module.exports = function(grunt) {
|
|||||||
jsonlint: {
|
jsonlint: {
|
||||||
messages: {
|
messages: {
|
||||||
src: [
|
src: [
|
||||||
'nodes/core/locales/en-US/messages.json',
|
'packages/node_modules/@node-red/nodes/locales/**/*.json',
|
||||||
'red/api/locales/en-US/editor.json',
|
'packages/node_modules/@node-red/editor-api/lib/editor/locales/**/*.json',
|
||||||
'red/runtime/locales/en-US/runtime.json'
|
'packages/node_modules/@node-red/runtime/locales/**/*.json'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
keymaps: {
|
keymaps: {
|
||||||
@ -280,9 +280,9 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
json: {
|
json: {
|
||||||
files: [
|
files: [
|
||||||
'nodes/core/locales/en-US/messages.json',
|
'packages/node_modules/@node-red/nodes/locales/**/*.json',
|
||||||
'red/api/locales/en-US/editor.json',
|
'packages/node_modules/@node-red/editor-api/lib/editor/locales/**/*.json',
|
||||||
'red/runtime/locales/en-US/runtime.json'
|
'packages/node_modules/@node-red/runtime/locales/**/*.json'
|
||||||
],
|
],
|
||||||
tasks: ['jsonlint:messages']
|
tasks: ['jsonlint:messages']
|
||||||
},
|
},
|
||||||
@ -308,7 +308,8 @@ module.exports = function(grunt) {
|
|||||||
args: nodemonArgs,
|
args: nodemonArgs,
|
||||||
ext: 'js,html,json',
|
ext: 'js,html,json',
|
||||||
watch: [
|
watch: [
|
||||||
'packages/node_modules'
|
'packages/node_modules',
|
||||||
|
'!packages/node_modules/@node-red/editor-client'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user