File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,19 @@ $ cobalt init myBlog
18
18
19
19
### serve
20
20
21
- Serve your site at ` 127.0.0.1:3000 `
21
+ To serve your site locally, run:
22
22
``` console
23
23
$ 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
26
29
```
27
- This provides live reload; it will re-generate your site as you add or change content.
28
30
29
31
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.
32
34
33
35
### new
34
36
You can’t perform that action at this time.
0 commit comments