When I pull rebase my code, git will start playing back the changes, causing my Gulp compile rules to fire. Every once in a while, this will cause the code to be in an inconsistent state that prevents pushing.
Consider a situation like this:
- rebase to commit a
- compile begins
- rebase to commit b
- compile for step 2 finishes
- rebase fails
Does anyone have a strategy for avoiding this? I'm using git/gulp inside IntelliJ, but I'm hoping these someway to prevent this other than stopping the Gulp watcher before every single rebase/push.