Resolving race condition between app generation and preview. Oops.