Skip to content

Commit

Permalink
Add missing -c argument to watcher documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
josephschito committed Jan 25, 2024
1 parent 7328228 commit 362d3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/blog/2023-01-06-opal-1-7-ruby-3-2.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 362d3f0

Please sign in to comment.