Rider and Visual Studio do this but you mean outside an IDE that's doing incremental builds on change?
Hmm I guess yeah you're going to need multiple separate workspaces to work on multiple large changes in parallel. For games that can be a large cost.
Multiple sandboxes on the same workspace wound be nice.