From 362d3f0b4bcb4ec37f412188b7966cb574ab1e1a Mon Sep 17 00:00:00 2001 From: Joseph Schito Date: Thu, 25 Jan 2024 11:37:35 +0100 Subject: [PATCH] Add missing `-c` argument to watcher documentation --- source/blog/2023-01-06-opal-1-7-ruby-3-2.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blog/2023-01-06-opal-1-7-ruby-3-2.html.md b/source/blog/2023-01-06-opal-1-7-ruby-3-2.html.md index cf3a6eda..f9bfbaf0 100644 --- a/source/blog/2023-01-06-opal-1-7-ruby-3-2.html.md +++ b/source/blog/2023-01-06-opal-1-7-ruby-3-2.html.md @@ -17,7 +17,7 @@ Opal v1.7 introduces the `--watch` flag, which allows you to automatically recom To use the `--watch` flag, simply pass it as an argument when running the `opal` command. For example: ```shell -opal --output=main.js --watch main.rb +opal --output=main.js --watch -c main.rb ``` This will start the Opal compiler and watch for any changes to the `main.rb` file. When a change is detected, the compiler will automatically recompile the code.