forked from github/quartz
* Move rebuild function outside `startServing`
* Move toRebuild and toRemove inside rebuild func
* Revert "Move toRebuild and toRemove inside rebuild func"
This reverts commit 8c4dbb13c7.
* Rename func to rebuildFromEntrypoint