From 1179a4c8f84c501fba4318d47d674897386e68c9 Mon Sep 17 00:00:00 2001 From: Debanjum Date: Tue, 16 Sep 2025 14:13:34 +0530 Subject: [PATCH] Update dev docs to suggest using bun instead of yarn for web app Resolves #1218 --- documentation/docs/contributing/development.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/docs/contributing/development.mdx b/documentation/docs/contributing/development.mdx index fda00573..3148cda8 100644 --- a/documentation/docs/contributing/development.mdx +++ b/documentation/docs/contributing/development.mdx @@ -106,13 +106,13 @@ sudo -u postgres createdb khoj --password ```shell cd src/interface/web/ -yarn install -yarn export +bun install +bun export ``` -You can optionally use `yarn dev` to start a development server for the front-end which will be available at http://localhost:3000. This is especially useful if you're making changes to the front-end code, but not necessary for running Khoj. Note that streaming does not work on the dev server due to how it is handled with SSR in Next.js. +You can optionally use `bun dev` to start a development server for the front-end which will be available at http://localhost:3000. This is especially useful if you're making changes to the front-end code, but not necessary for running Khoj. Note that streaming does not work on the dev server due to how it is handled with SSR in Next.js. -Always run `yarn export` to test your front-end changes on http://localhost:42110 before creating a PR. +Always run `bun export` to test your front-end changes on http://localhost:42110 before creating a PR. #### 4. Run 1. Start Khoj