From d234b188a70297909703d39743b9e70e568519c0 Mon Sep 17 00:00:00 2001 From: "LaptopVerdnatura\\Javi" Date: Fri, 25 Jan 2019 16:26:07 +0100 Subject: [PATCH] gulpfile bug de windows solucionado --- gulpfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index e5590bf06..99493db00 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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