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) {
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue