Currently if out exists from a previous build, the build will fail as it refuses to overwrite the old assets. The build should clear the contents of the publish dir so that builds can happen. It needs to ensure that it hasn't accidentally been set to the root of the repo too.