Discourse Development: Failed to register/update a ServiceWorker

No such directory exists. Investigating this more closely, it turns out that this is precisely the problem.

mkdir public/assets

Creating the directory solves the issue. There probably should be a check against this somewhere, right?