From 3d19275b2c45f218487aeaa0efce68c1115aa972 Mon Sep 17 00:00:00 2001 From: ethangardner Date: Thu, 19 Dec 2024 13:20:01 -0500 Subject: [PATCH] update readme with new clean commands --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 0c7a06a6..44fc8058 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,16 @@ To run tests in watch mode (except the `infra` tests, which use Jest): pnpm vitest ``` +If you start having unexplained build errors, the following commands are useful to clean up and start fresh. + +```bash +pnpm clean:dist # removes previously built files recursively +pnpm clean:modules # removes node_module directories recursively + +# ... run more commands like pnpm install and pnpm build after you have run these +``` + + To start developing with hot reloading, use: ```bash