gulpfile bug de windows solucionado
This commit is contained in:
parent
f7980c49f5
commit
d234b188a7
|
@ -91,9 +91,12 @@ dockerAndBackTest.description = `Restarts database and runs the backend tests`;
|
||||||
|
|
||||||
function backTest(done) {
|
function backTest(done) {
|
||||||
const nodemon = require('gulp-nodemon');
|
const nodemon = require('gulp-nodemon');
|
||||||
|
let gulpBin = isWindows
|
||||||
|
? 'node_modules/.bin/gulp.cmd'
|
||||||
|
: 'node_modules/.bin/gulp';
|
||||||
|
|
||||||
nodemon({
|
nodemon({
|
||||||
script: 'node_modules/.bin/gulp',
|
exec: gulpBin,
|
||||||
args: ['dockerAndBackTest'],
|
args: ['dockerAndBackTest'],
|
||||||
watch: ['loopback', 'modules/*/back/**', 'back'],
|
watch: ['loopback', 'modules/*/back/**', 'back'],
|
||||||
done: done
|
done: done
|
||||||
|
|
Loading…
Reference in New Issue