Skip to content

Commit fdd3d4b

Browse files
authored
be a bit smarter about building the site locally (#5262)
Co-authored-by: Antony Jones <antony@beyonk.com>
1 parent 8f1ae80 commit fdd3d4b

File tree

6 files changed

+37
-236
lines changed

6 files changed

+37
-236
lines changed

site/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ Set up the site sub-project:
66
git clone https://github.com/sveltejs/svelte.git
77
cd site
88
npm ci
9-
npm run update
109
npm run dev
1110
```
1211

1312
and navigate to [localhost:3000](http://localhost:3000).
1413

14+
The first time you run the site locally, it will update the list of Contributors and REPL dependencies. After this it won't run again unless you force it by running:
15+
16+
```bash
17+
npm run update
18+
```
19+
1520
## Running using the local copy of Svelte
1621

1722
By default, the REPL will fetch the most recent version of Svelte from https://unpkg.com/svelte. When running the site locally, you can also use your local copy of Svelte.
@@ -25,7 +30,6 @@ npm ci
2530
PUBLISH=1 npm run build
2631
cd site
2732
npm ci
28-
npm run update
2933
npm run dev
3034
```
3135

site/package-lock.json

Lines changed: 0 additions & 227 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)