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

FEAT: Allow interval option from environment variable #315

Merged
merged 2 commits into from Sep 2, 2021

Conversation

cpow
Copy link
Contributor

@cpow cpow commented Aug 30, 2021

Starting our app in NextJS dev takes a bit longer to finishing compilation. Hitting the / route with wait-on every two seconds while compiling leads to the app constantly re-compiling and rarely finishing it's build before the timeout ends.

Adding an option for interval would be great, to allow us to check our route much less frequently.

In this PR I'm adding this option as an ENV variable, sticking to the current convention for TIMEOUT

@cpow cpow changed the title Allow interval option from environment variable FEAT: Allow interval option from environment variable Aug 30, 2021
@bahmutov
Copy link
Owner

bahmutov commented Aug 30, 2021 via email

@cpow
Copy link
Contributor Author

cpow commented Sep 2, 2021

sure! will do today. thanks!

@cpow
Copy link
Contributor Author

cpow commented Sep 2, 2021

@bahmutov added a demo for the ENV vars, lemme know if that works for you, thanks again!

@bahmutov bahmutov merged commit 693dc2c into bahmutov:master Sep 2, 2021
@github-actions
Copy link

github-actions bot commented Sep 2, 2021

🎉 This PR is included in version 1.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants