Skip to content

Conversation

@bjufre
Copy link

@bjufre bjufre commented Jun 29, 2023

This PR adds the possibility of debouncing the reload event so that it only happens once within a certain amount of time.

I had to patch the lib a couple times with this, so I thought if was already time to prepare the PR and send it.

On some projects, I'm generating some documentation on the fly for some Rails app, and this triggers maybe 10 reloads, and puma-dev breaks because of it (see the example below) and we need to hard kill the process, wait, do it again, it breaks, etc, etc.

CleanShot 2023-06-29 at 10 39 34

@bjufre bjufre force-pushed the feat/allow-debounce-reload-event branch from f804e15 to 0de6d18 Compare June 29, 2023 08:44
… ONE reload happens for a certain amount of time
@bjufre bjufre force-pushed the feat/allow-debounce-reload-event branch from 0de6d18 to d2e859b Compare June 29, 2023 08:45
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

Successfully merging this pull request may close these issues.

1 participant