summaryrefslogtreecommitdiff
path: root/examples/snowpack/src/pages/tutorials/svelte.md
diff options
context:
space:
mode:
authorGravatar Jonathan Neal <jonathantneal@hotmail.com> 2021-08-19 01:07:08 -0400
committerGravatar GitHub <noreply@github.com> 2021-08-18 22:07:08 -0700
commite66872125d6a5e5246aeb7a2f1d5784d5c5493b7 (patch)
tree05bfcb3ec8c33a798fdc32b8d1633151e7a8a113 /examples/snowpack/src/pages/tutorials/svelte.md
parentece0953aed6879b4e7bf2b812b4a20508181b496 (diff)
downloadastro-e66872125d6a5e5246aeb7a2f1d5784d5c5493b7.tar.gz
astro-e66872125d6a5e5246aeb7a2f1d5784d5c5493b7.tar.zst
astro-e66872125d6a5e5246aeb7a2f1d5784d5c5493b7.zip
add dev script, switch documentation from advising start to dev script (#1141)
Diffstat (limited to 'examples/snowpack/src/pages/tutorials/svelte.md')
-rw-r--r--examples/snowpack/src/pages/tutorials/svelte.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/snowpack/src/pages/tutorials/svelte.md b/examples/snowpack/src/pages/tutorials/svelte.md
index dd6ae73f0..7659a4f3e 100644
--- a/examples/snowpack/src/pages/tutorials/svelte.md
+++ b/examples/snowpack/src/pages/tutorials/svelte.md
@@ -39,7 +39,7 @@ Head to the new `svelte-snowpack` directory and start Snowpack with the followin
```bash
cd svelte-snowpack
-npm start
+npm run dev
```
You should see your new website up and running!
@@ -75,7 +75,7 @@ module.exports = {
],
```
-Restart your Snowpack dev server to run it with the new configuration. Exit the process (ctrl + c in most Windows/Linux/macOS) and start it again with `npm start`.
+Restart your Snowpack dev server to run it with the new configuration. Exit the process (ctrl + c in most Windows/Linux/macOS) and start it again with `npm run dev`.
> 💡 Tip: Restart the Snowpack development server when you make configuration changes (changes to the `snowpack.config.js`).
@@ -192,7 +192,7 @@ The `mount` configuration changes where Snowpack scan for and builds files. Head
</body>
```
-You'll need to restart Snowpack (stop the process in terminal and then run `npm start` again) for configuration file changes. It should look exactly as it did before, but now using your brand new project folder layout
+You'll need to restart Snowpack (stop the process in terminal and then run `npm run dev` again) for configuration file changes. It should look exactly as it did before, but now using your brand new project folder layout
## Adding an animated Svelte Logo