gulpfile para windows
This commit is contained in:
parent
d94090f2b0
commit
086b773423
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue