]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add tip to open local server URL after build
authorjp06 <jpicalla06@gmail.com>
Tue, 5 Mar 2019 09:30:54 +0000 (17:30 +0800)
committerJeremy Thomas <bbxdesign@gmail.com>
Tue, 5 Mar 2019 11:13:39 +0000 (12:13 +0100)
docs/README.md

index 11bfb710eccce9382f0e8949be2bc7527d3c49f3..2e6b52268a38bae789a77a62f5339ae6c5886b4d 100644 (file)
@@ -24,4 +24,6 @@ To view the documentation on your system locally:
 jekyll serve --incremental --config _config.local.yml
 ```
 
-This will start an HTTP server at `http://localhost:4000/` that serves the docs built in the `_site` directory; and anytime the docs are rebuilt by you, it will serve the docs site on the fly. In your main shell session where you develop, if you change anything in `docs/` the jekyll server will rebuild those on the fly. But if you change anything about the Bulma SASS or CSS, you need to do `npm run start` to build the docs' CSS before you will see it in the browser. The process running `jekyll serve` will pick up the new CSS automatically.
+This will start an HTTP server at `http://localhost:4000/` that serves the docs built in the `_site` directory; and anytime the docs are rebuilt by you, it will serve the docs site on the fly. You can also add the `--open-url` option (or its alias `--o`) to automatically open the server URL in your default browser when it's ready.
+
+In your main shell session where you develop, if you change anything in `docs/` the jekyll server will rebuild those on the fly. But if you change anything about the Bulma SASS or CSS, you need to do `npm run start` to build the docs' CSS before you will see it in the browser. The process running `jekyll serve` will pick up the new CSS automatically.