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:

https://github.com/guard/guard/blob/45ac8e1013767e1d84fcc590418f9a8469b0d3b2/lib/guard/notifiers/tmux.rb#l24-l38

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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -