We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 288db85 commit 294be35Copy full SHA for 294be35
README.md
@@ -16,13 +16,15 @@ goserve -h
16
## Usage
17
For now, Serve supports just HTML, CSS and Javascript
18
```bash
19
- goserve // this starts a server on port 3000
+ goserve # this starts a server on port 3000
20
21
- // To use a custom port run
+ # To use a custom port run
22
goserve -p 5173
23
24
- // To serve another folder
25
- goserve -root "path-to-folder"
+ # To serve another folder
+ goserve -root "/Desktop/my-cool-site/dist"
26
+
27
+ # goserve -root "/Desktop/my-cool-site/dist/index.html" won't work because the root flag needs a directory to serve not a file
28
```
29
30
For local development, you will need to add this script tag to your html head
0 commit comments