only spawn workers on compile/watch & disconnect after compile