remi / teamocil

There's no I in Teamocil. At least not where you think. Teamocil is a simple tool used to automatically create windows and panes in tmux with YAML files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Recreating panes on changes in the command

gurobokum opened this issue · comments

I would like to have ability to enforce changed commands to run again
For example

name: my-session
windows:
  - name: immutable
    panes:
      - sleep 60
  - name: mutable
    panes:
      - tail -f /my.log
teamocil --here my-session

then I edit the yml to

...
    panes:
      - tail -f /my.log -n 100

in the same tmux session execute

teamocil --replace my-session

and my mutable plane is going to be recreated
and with

teamocil --replace --force my-session

all windows and panes are going to be recreated