Skip to content

Spawn!

Latest
Compare
Choose a tag to compare
@julienma julienma released this 22 Apr 07:10
· 7 commits to master since this release

iTermocil (New Space).app can now spawn a brand new OS X Space, so all the apps (IDE, Browser, Finder, etc.) related to your project, which will be opened by your iTermocil script, will be grouped together.

As not all use-cases necessitate to open other apps, you can chose between both binaries, depending if you prefer creating a new space or not.


Example of a script opening multiple apps, which is quite nice to have all in its own space:

# complicated-project.itermocil
windows:
  - name: complicated-project-server
    root: ~/dev/complicated-project/api
    layout: even-horizontal
    panes:
      - commands:
        - subl . # open sublime text
        - git status
        # Wait for server to warm-up and force open a new (default) browser window
        - sleep 2
        - open -n 'http:' ; sleep 0.5 ; open http://localhost:9292/
      - commands:
        - bundle exec rackup # run server
  - name: complicated-project-front
    root: ~/dev/complicated-project/web
    layout: even-horizontal
    panes:
      - commands:
        - subl . # open sublime text
        - open . # open finder
        - git status
      - commands:
        - gulp serve # live reload