Change "ctrl+c" to "Ctrl+C"

This commit is contained in:
Anthony Fok 2015-01-29 14:19:12 -07:00
parent dbb86679a1
commit 664fd99135
5 changed files with 8 additions and 8 deletions

View file

@ -233,7 +233,7 @@ func build(watches ...bool) {
if BuildWatch { if BuildWatch {
jww.FEEDBACK.Println("Watching for changes in", helpers.AbsPathify(viper.GetString("ContentDir"))) jww.FEEDBACK.Println("Watching for changes in", helpers.AbsPathify(viper.GetString("ContentDir")))
jww.FEEDBACK.Println("Press ctrl+c to stop") jww.FEEDBACK.Println("Press Ctrl+C to stop")
utils.CheckErr(NewWatcher(0)) utils.CheckErr(NewWatcher(0))
} }
} }

View file

@ -126,7 +126,7 @@ func serve(port int) {
u.Scheme = "http" u.Scheme = "http"
jww.FEEDBACK.Printf("Web Server is available at %s\n", u.String()) jww.FEEDBACK.Printf("Web Server is available at %s\n", u.String())
fmt.Println("Press ctrl+c to stop") fmt.Println("Press Ctrl+C to stop")
err = http.ListenAndServe(":"+strconv.Itoa(port), nil) err = http.ListenAndServe(":"+strconv.Itoa(port), nil)
if err != nil { if err != nil {

View file

@ -102,7 +102,7 @@ your content:
in 5 ms in 5 ms
Serving pages from exampleHugoSite/public Serving pages from exampleHugoSite/public
Web Server is available at http://localhost:1313 Web Server is available at http://localhost:1313
Press ctrl+c to stop Press Ctrl+C to stop
We specified two options here: We specified two options here:
@ -134,7 +134,7 @@ Stop the Hugo process by hitting <kbd>Ctrl</kbd>+<kbd>C</kbd>. Then run the foll
Watching for changes in exampleHugoSite/content Watching for changes in exampleHugoSite/content
Serving pages from exampleHugoSite/public Serving pages from exampleHugoSite/public
Web Server is available at http://localhost:1313 Web Server is available at http://localhost:1313
Press ctrl+c to stop Press Ctrl+C to stop
Open your [favorite editor](http://vim.spf13.com/), edit and save your content, and watch as Hugo rebuilds and reloads automatically. Open your [favorite editor](http://vim.spf13.com/), edit and save your content, and watch as Hugo rebuilds and reloads automatically.

View file

@ -71,7 +71,7 @@ is saved.
28 pages created 28 pages created
in 18 ms in 18 ms
Watching for changes in /Users/spf13/Code/hugo/docs/content Watching for changes in /Users/spf13/Code/hugo/docs/content
Press ctrl+c to stop Press Ctrl+C to stop
Hugo can even run a server and create your site at the same time! Hugo Hugo can even run a server and create your site at the same time! Hugo
implements [LiveReload](/extras/livereload/) technology to automatically reload any open pages in implements [LiveReload](/extras/livereload/) technology to automatically reload any open pages in
@ -80,7 +80,7 @@ all browsers (including mobile).
$ hugo server -ws ~/mysite $ hugo server -ws ~/mysite
Watching for changes in /Users/spf13/Code/hugo/docs/content Watching for changes in /Users/spf13/Code/hugo/docs/content
Web Server is available at http://localhost:1313 Web Server is available at http://localhost:1313
Press ctrl+c to stop Press Ctrl+C to stop
28 pages created 28 pages created
0 tags created 0 tags created
in 18 ms in 18 ms

View file

@ -207,7 +207,7 @@ WARN: 2014/09/29 Unable to locate layout: [404.html]
in 2 ms in 2 ms
Serving pages from /Users/quoha/Sites/zafta/public Serving pages from /Users/quoha/Sites/zafta/public
Web Server is available at http://localhost:1313 Web Server is available at http://localhost:1313
Press ctrl+c to stop Press Ctrl+C to stop
``` ```
Connect to the listed URL (it's on the line that starts with "Web Server"). If everything is working correctly, you should get a page that shows the following: Connect to the listed URL (it's on the line that starts with "Web Server"). If everything is working correctly, you should get a page that shows the following:
@ -463,7 +463,7 @@ in 2 ms
Watching for changes in /Users/quoha/Sites/zafta/content Watching for changes in /Users/quoha/Sites/zafta/content
Serving pages from /Users/quoha/Sites/zafta/public Serving pages from /Users/quoha/Sites/zafta/public
Web Server is available at http://localhost:1313 Web Server is available at http://localhost:1313
Press ctrl+c to stop Press Ctrl+C to stop
INFO: 2014/09/29 File System Event: ["/Users/quoha/Sites/zafta/themes/zafta/layouts/index.html": MODIFY|ATTRIB] INFO: 2014/09/29 File System Event: ["/Users/quoha/Sites/zafta/themes/zafta/layouts/index.html": MODIFY|ATTRIB]
Change detected, rebuilding site Change detected, rebuilding site