Build souce when server started