Fix: launch script would fail if yarn was not run before
Created by: attfarhan
Fixes https://github.com/sourcegraph/sourcegraph/issues/1914 using the solution described in https://github.com/sourcegraph/sourcegraph/issues/1914#issuecomment-454685052.