Skip to content

Commit

Permalink
docs: fix local dev command (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound authored Nov 16, 2021
1 parent b7f4c2f commit d1891aa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,26 @@ There are a couple of things that are different compared to the previous blog en
To see your changes (and have hot-reload), run the following commands:
```console
yarn prebuild
yarn pre-build
yarn start
```

Note: `yarn prebuild` is only necessary the first time to get content under `/docs`.
Note: `yarn pre-build` is only necessary the first time to get content under `/docs`.

## Local Development

If you want to use the contents from [`electron/electron`](https://github.com/electron/electron)
run the following:

```console
yarn prebuild
yarn pre-build
yarn start
```

If you want the website to pick your local documentation, run:

```console
yarn prebuild ../relative/path/to/local/electron/repo
yarn pre-build ../relative/path/to/local/electron/repo
yarn start
```

Expand All @@ -74,7 +74,7 @@ For example, if you have the following structure:
and assuming your prompt is in `/projects/electronjs.org-new/` you will have to run:

```console
yarn prebuild ../electron
yarn pre-build ../electron
yarn start
```

Expand Down

0 comments on commit d1891aa

Please sign in to comment.