Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Relax watchDirectories glob (#202)
Browse files Browse the repository at this point in the history
* Relax watchDirectories glob

The previous glob was a little too restrictive and would not watch files target at request variants e.g. `app/views/things/show.html+phone.erb`

* Update esbuild.config.mjs

---------

Co-authored-by: Chris Oliver <[email protected]>
  • Loading branch information
fig and excid3 committed Nov 7, 2023
1 parent 45ea464 commit 3268d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esbuild.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const entryPoints = [
]
const watchDirectories = [
"./app/javascript/**/*.js",
"./app/views/**/*.html.erb",
"./app/views/**/*.erb",
"./app/assets/builds/**/*.css", // Wait for cssbundling changes
]
const config = {
Expand Down

0 comments on commit 3268d26

Please sign in to comment.