From 892abc1ef57966c8945f165a67eb11e83623706b Mon Sep 17 00:00:00 2001 From: TheSaneWriter <93878758+TheSaneWriter@users.noreply.github.com> Date: Mon, 26 Jun 2023 07:26:13 -0400 Subject: [PATCH] Update 02-local-development.md (#232) * Update 02-local-development.md When pull request #1517 was merged to lemmy-ui, which I have a link to [here](https://github.com/LemmyNet/lemmy-ui/commit/d0dff77377a84611ab5cf624123e84c95aedf1ff), the dev command to run the local frontend was changed from `yarn start` to `yarn build:dev --watch`. This updates the documents to reflect that. * Update 02-local-development.md This is a better shorthand for the command, it does the same thing but is shorter. --- src/contributors/02-local-development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contributors/02-local-development.md b/src/contributors/02-local-development.md index 22e9cdc..7943249 100644 --- a/src/contributors/02-local-development.md +++ b/src/contributors/02-local-development.md @@ -82,7 +82,7 @@ After making changes, you need to format the code with `cargo +nightly fmt --all ### Frontend development -Install dependencies by running `yarn`. Then run `yarn start` to launch lemmy-ui locally. It automatically connects to the Lemmy backend on `localhost:8536`. Open [localhost:1234](http://localhost:1234) in your browser. The project is rebuilt automatically when you change any files. +Install dependencies by running `yarn`. Then run `yarn dev` to launch lemmy-ui locally. It automatically connects to the Lemmy backend on `localhost:8536`. Open [localhost:1234](http://localhost:1234) in your browser. The project is rebuilt automatically when you change any files. Note that this setup doesn't support image uploads. If you want to test those, you need to use the [Docker development](03-docker-development.md).