I think it's okay to leave that async.

The globEach deletes files from the root JS folder. The update_types will copy stuff into the Commonplace folder.