make sure initial build is complete before launching server