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
{{ message }}
Repository navigation
run hooks in the background with a runner daemon
#2876
I was looking to see if jj had hook support and stumbled across this comment, jj-vcs/jj#3577 (comment)
The idea is run a daemon in the background (prek serve, maybe runs as a systemd unit) with a filewatcher that runs the hooks periodically or as files change and caches their results. On commit/push, the results are brought to the foreground, resuming progress if they were unfinished.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I was looking to see if
jjhad hook support and stumbled across this comment, jj-vcs/jj#3577 (comment)The idea is run a daemon in the background (
prek serve, maybe runs as a systemd unit) with a filewatcher that runs the hooks periodically or as files change and caches their results. On commit/push, the results are brought to the foreground, resuming progress if they were unfinished.All reactions