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

Server takes long to restart. Too much buffering time #110

Closed
cngondo opened this issue Nov 23, 2016 · 1 comment
Closed

Server takes long to restart. Too much buffering time #110

cngondo opened this issue Nov 23, 2016 · 1 comment

Comments

@cngondo
Copy link

cngondo commented Nov 23, 2016

When I have made changes and saved on my HTML files, it takes long before the server picks the changes up again. The span is so long that when I refresh the page it gives me a 404 error on the browser until I refresh the page again. I'm using it in a sinatra app so I'm running the server using rackup.
If the time between making the changes and refreshing the browser to see the changes is reduced to almost instantly, then it would do a lot of good on the experience.

@alexch
Copy link
Owner

alexch commented Jan 24, 2018

I just added a --wait feature which allows you to tune the delay between rerun politely asking the process to stop, and rudely killing it. But that won't help if your server takes several seconds to start up. If you need faster reaction time, I suggest trying shotgun or guard; read the bottom of the README for a comparison between them.

@alexch alexch closed this as completed Jan 24, 2018
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

2 participants