Skip to content

Commit 0e480e9

Browse files
committed
docs(usage): Update another cobalt-serve reference
1 parent d4c943d commit 0e480e9

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docs/usage.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,19 @@ $ cobalt init myBlog
1818

1919
### serve
2020

21-
Serve your site at `127.0.0.1:3000`
21+
To serve your site locally, run:
2222
```console
2323
$ cobalt serve
24-
$ # Include drafts
25-
$ cobalt serve --drafts
24+
Building from `.` into `/tmp/.tmpgYpScM`
25+
Watching . for changes
26+
Serving /tmp/.tmpgYpScM through static file server
27+
Server Listening on http://localhost:1024
28+
Ctrl-c to stop the server
2629
```
27-
This provides live reload; it will re-generate your site as you add or change content.
2830

2931
Use the `--host` argument to listen on a different address (ex. 0.0.0.0/INADDR\_ANY);
30-
the default is `localhost`. Use `--port` (or `-P`) to listen on a different TCP port
31-
number (default: 3000).
32+
the default is `localhost`. Use `--port` (or `-P`) to listen on a specific TCP port
33+
number.
3234

3335
### new
3436

0 commit comments

Comments
 (0)