Open amacgregor opened 7 years ago
Not sure if this helps? But I have windows that depend on Vagrant being booted up. So I created a window that runs "vagrant up", then loads the windows that depend on vagrant, then kills itself. This way the depending windows are loaded after Vagrant.
new_window "vagrant-boot"
run_cmd "vagrant up"
run_cmd "tmuxifier load-window vagrant-logs"
run_cmd "tmuxifier load-window vagrant-console"
run_cmd "tmuxifier load-window vagrant-gulp"
run_cmd "tmux kill-window"
https://github.com/TheoKouzelis/my-dev-env/blob/master/.tmux-layouts/vagrant-boot.window.sh
I'm using zsh, which is apparently slow enough to cause the following bug.
All the run_cmd are run before the shell is ready and this nothing is really executed, I'm not sure what the issue could be or how to force tmuxifier to check for the session but I'm open to suggestions.