Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tmuxifier not waiting for session to be ready #80

Open
amacgregor opened this issue Feb 21, 2017 · 1 comment
Open

Tmuxifier not waiting for session to be ready #80

amacgregor opened this issue Feb 21, 2017 · 1 comment

Comments

@amacgregor
Copy link

I'm using zsh, which is apparently slow enough to cause the following bug.

image

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.

@TheoKouzelis
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants