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

Make delay of watcher plugin configurable? #2

Open
ghost opened this issue Mar 2, 2016 · 2 comments
Open

Make delay of watcher plugin configurable? #2

ghost opened this issue Mar 2, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 2, 2016

The watcher plugin is very useful. I use it to deploy changes of JavaScript files to a local dev environment (which then triggers a page reload). Since the changes are small, happen frequently and the build process is very quick, it would be great if there was no artificial delay before the build process is started.

Therefore my question: Would it be possible to make the delay configurable?

@jjlauer
Copy link
Member

jjlauer commented Mar 2, 2016

Sure, no reason it couldn't be modified. I see just a couple timeouts in
the code, it probably is as easy as making those configurable as an option.
"shortTimeout" is set to 750ms -- is that what you'd like to make
configurable? PR would be readily accepted.

On Wed, Mar 2, 2016 at 12:50 PM, Joel Richard [email protected]
wrote:

The watcher plugin is very useful. I use it to deploy changes of
JavaScript files to a local dev environment (which then triggers a page
reload). Since the changes are small, happen frequently and the build
process is very quick, it would be great if there was no artificial delay
before the build process is started.

Therefore my question: Would it be possible to make the delay configurable?


Reply to this email directly or view it on GitHub
#2.

@ghost
Copy link
Author

ghost commented Mar 4, 2016

At the moment I don't have time for it, but if I continue using the plugin, then I will create a pull request at some point.

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

1 participant