Ask HN: Workflow for switching between projects

https://news.ycombinator.com/item?id=9038874
by biomene • 11 years ago
3 7 11 years ago

I always work in several projects in parallel. All of them use Git (for version control and sometimes deployments) and a task runner (grunt/gulp).

I switch between projects several times a day. This means closing the terminal window I'm currently on, opening a new one, splitting it in 2 (I use iTerm), navigating to the project folder in each of them, starting up Grunt/Gulp in one of them and managing Git in the other, and then switching projects in Sublime.

This routine gets very boring very quickly. I'm looking into ways to automate it, but the only solution I've found is to write a bash script for each project, which isn't ideal because:

1. It means a new custom script for each new project (the projects are usually quite small and have fast turnarounds, so I would have to do this a couple of time a month) 2. iTerms panes and bash scripts don't play very well along

I was wondering what other people's workflows were like? There must be a better way.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com