Skip to content

Commit

Permalink
Remove watch option from readme example
Browse files Browse the repository at this point in the history
Esbuild 0.17 dropped the watch option and replaced it with a call on context()
  • Loading branch information
excid3 authored Jan 16, 2023
1 parent aa1fd2c commit d473874
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ require("esbuild").build({
bundle: true,
outdir: path.join(process.cwd(), "app/assets/builds"),
absWorkingDir: path.join(process.cwd(), "app/javascript"),
watch: process.argv.includes("--watch"),
plugins: [rails()],
}).catch(() => process.exit(1))
```
Expand Down

0 comments on commit d473874

Please sign in to comment.