Guard - "tests are running" indication in tmux? -
i use guard test automation, , sends notifications tmux when tests runs complete.
however, of tests long in running, , don't have clear way know, if tmux pane guard runs in hidden, whether tests have completed. true if tests complete same status 2 runs in row.
does guard have support different notification shows there running tests?
if so, what's example configuration if, say, wanted tmux session title turn white while tests running , red/green/yellow when complete?
if not, should in guard source code if wanted develop , pull request feature?
check out tmux options here:
there's display_on_all_clients option - should flash in other tmux clients have created.
there's color_location option (see tmux man page possible values).
here's example settings can place in ~/.guard.rb file:
notification(:tmux, { timeout: 0.5, display_message: true, display_title: true, default_message_color: 'black', display_on_all_clients: true, success: 'colour150', failure: 'colour174', pending: 'colour179', color_location: %w[status-left-bg pane-active-border-fg pane-border-fg], }) if env['tmux']
Comments
Post a Comment