From 65fa7959cc8b34b9d1c523c54479fa6d2734d0ff Mon Sep 17 00:00:00 2001 From: Jonathan Strickland Date: Tue, 19 Jan 2021 14:33:00 -0500 Subject: [PATCH] Fix tutorial commands --- guide/tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/tutorial.md b/guide/tutorial.md index 90753d9..0052441 100644 --- a/guide/tutorial.md +++ b/guide/tutorial.md @@ -33,7 +33,7 @@ Clone the sample repository locally, install [Nix](https://nixos.org/nix/) (as described in its README) and run your site as follows: ```bash -nix-shell --run 'ghcid -T ":main serve"' +nix-shell --run 'ghcid -T ":main -wS"' ``` Running this command gives you a local HTTP server at @@ -58,7 +58,7 @@ installed. 4. `Rib.App.run`: this parses the CLI arguments and runs the rib CLI "app" which can be run in one of a few modes --- generating static files, watching the `content/` directory for changes, starting HTTP server for the `dest/` directory. - The "serve" subcommand will run the Shake build action passed as argument on + The "-wS" options will run the Shake build action passed as argument on every file change and spin up a HTTP server. Run that command, and visit to view your site.