gulpfile bug de windows solucionado

This commit is contained in:
Javi Gallego 2019-01-25 16:26:07 +01:00
parent f7980c49f5
commit d234b188a7
1 changed files with 4 additions and 1 deletions

View File

@ -91,9 +91,12 @@ dockerAndBackTest.description = `Restarts database and runs the backend tests`;
function backTest(done) {
const nodemon = require('gulp-nodemon');
let gulpBin = isWindows
? 'node_modules/.bin/gulp.cmd'
: 'node_modules/.bin/gulp';
nodemon({
script: 'node_modules/.bin/gulp',
exec: gulpBin,
args: ['dockerAndBackTest'],
watch: ['loopback', 'modules/*/back/**', 'back'],
done: done