Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delay #156

Open
lacivert opened this issue Aug 1, 2018 · 3 comments
Open

delay #156

lacivert opened this issue Aug 1, 2018 · 3 comments

Comments

@lacivert
Copy link

lacivert commented Aug 1, 2018

There is an option on nodemon for delay;

nodemon script.js --delay=2

How can we use this delay option in gulp-nodemon? I want to put delay time between code-change and restart.

I tried on options like nodemonOptions={delay:2} but it doesn't work.

@BrightShadow
Copy link

I'm joining the question. Need this option too...

@kpfromer
Copy link

kpfromer commented Feb 3, 2019

This would solve some issues I am encountering with gulp v4.

@MaximeMaillet
Copy link

Hi, all options pass to gulp-nodemon(settings) are transmitted on nodemon(settings)

gulp.task('start', function (done) {
  nodemon({
    script: 'server.js'
  , ext: 'js html'
  , env: { 'NODE_ENV': 'development' }
  , delay: 500
  , done: done
  })
})

Delay should be a number in milliseconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants