Update README.md

This commit is contained in:
Steve Ruiz 2021-08-13 14:33:38 +01:00 committed by GitHub
parent cb3ebde9ac
commit 88711523c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,9 @@ To support this project (and gain access to the project while it is in developme
## Local Development
To work on the packages (@tldraw/core or @tldraw/tldraw), you'll want to run the dev server.
### The tldraw packages
To work on the packages (@tldraw/core or @tldraw/tldraw), you'll want to run the (extremely fast) package dev server.
1. Download or clone the repository.
@ -41,8 +43,15 @@ To work on the packages (@tldraw/core or @tldraw/tldraw), you'll want to run the
4. Open the local site at `https://localhost:5000`.
To work on the app itself (that embeds @tldraw/tldraw), run the Next.js app:
### The tldraw app
To work on the app itself (that embeds @tldraw/tldraw), run the Next.js app. This won't directly respond to changes to packages, so for concurrent package dev work be sure to use the package dev server instead. (This is being worked on.)
1. Start the development server.
```bash
yarn start:www
```
2. Open the local site at `https://localhost:3000`.