1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Add --userDir=/tmp/foo support to grunt dev

This commit is contained in:
Nick O'Leary 2020-08-14 00:08:09 +01:00
parent bcd85b11a1
commit dc81b7a699
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -25,6 +25,11 @@ module.exports = function(grunt) {
if (flowFile) { if (flowFile) {
nodemonArgs.push(flowFile); nodemonArgs.push(flowFile);
} }
var userDir = grunt.option('userDir');
if (userDir) {
nodemonArgs.push("-u");
nodemonArgs.push(userDir);
}
var browserstack = grunt.option('browserstack'); var browserstack = grunt.option('browserstack');
if (browserstack) { if (browserstack) {