From eb8ce037d1c85317bc2309631ab9b703746ac79e Mon Sep 17 00:00:00 2001 From: Harshit Kumar <15359962+harshitkumar31@users.noreply.github.com> Date: Sun, 7 Jan 2024 22:36:29 +0530 Subject: [PATCH] docs: Update command for development (#3478) --- DEVELOPMENT.md | 4 ++-- packages/graphiql-react/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index b4c17ab4d7b..f8670047823 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -44,7 +44,7 @@ this repo._ If you are focused on GraphiQL development, you can run — ```sh - yarn start-graphiql + yarn dev-graphiql ``` 5. Get coding! If you've added code, add tests. If you've changed APIs, update @@ -89,7 +89,7 @@ First, you'll need to `yarn build` all the packages from the root. Then, you can run these commands: -- `yarn start-graphiql` — which will launch `webpack` dev server for graphiql +- `yarn dev-graphiql` — which will launch `webpack` dev server for graphiql from the root > The GraphiQL UI is available at http://localhost:8080/dev.html diff --git a/packages/graphiql-react/README.md b/packages/graphiql-react/README.md index 5bf7b262082..54ac1e2615e 100644 --- a/packages/graphiql-react/README.md +++ b/packages/graphiql-react/README.md @@ -130,6 +130,6 @@ elements background. If you want to develop with `@graphiql/react` locally - in particular when working on the `graphiql` package - all you need to do is run `yarn dev` in the package folder in a separate terminal. This will build the package using Vite. -When using it in combination with `yarn start-graphiql` (running in the repo +When using it in combination with `yarn dev-graphiql` (running in the repo root) this will give you auto-reloading when working on `graphiql` and `@graphiql/react` simultaneously.