diff --git a/gulpfile.js b/gulpfile.js index 44c0a8613..802eef283 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -40,10 +40,10 @@ backOnly.description = `Starts backend service`; function backWatch(done) { const nodemon = require('gulp-nodemon'); - let sleepBin = isWindows ? 'timeout' : 'sleep'; + let sleepBin = isWindows ? '' : 'sleep 1 &&'; nodemon({ - exec: `${sleepBin} 1 && node --inspect ./node_modules/gulp/bin/gulp.js`, + exec: `${sleepBin} node --inspect ./node_modules/gulp/bin/gulp.js`, args: ['backOnly'], watch: backSources, done: done