You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't block fsnotify watcher during stack application
Decouple the stack application from the fsnotify watcher loop. This
prevents the loop from stalling due to a long-running application and
reduces the risk of the operating system buffer getting overflowed.
Trigger applications via a separate channel with a buffer size of one
item. This naturally implements debouncing.
Fixes a panic that could occur when the Run method exits before the
initial apply event has been sent from the separate goroutine.
Signed-off-by: Tom Wieczorek <[email protected]>
0 commit comments