Skip to content

Commit

Permalink
Merge pull request #93 from josephschito/joseph/fix-not-working-command
Browse files Browse the repository at this point in the history
Add missing `-c` argument to watcher documentation
  • Loading branch information
elia authored Jan 25, 2024
2 parents 7328228 + 362d3f0 commit d40f63f
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 d40f63f

Please sign in to comment.