cleanly build when running the server

this is useful for when a repo is updated to make sure that the server runs cleanly with any new changes.