Skip to content

Commit

Permalink
Add docs to Guardfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bradgessler committed Jul 24, 2023
1 parent fd94cb5 commit cfd77a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/guard/zeitwerk/templates/Guardfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Watches all Ruby files in a project.
#
# The `require:` parameter is configured for a Rails project. If using it for
# a gem, change the require path to whatever loads a Zeitwerk::Autoloader.
guard :zeitwerk, require: "config/application.rb" do
watch(/.*\.rb$/)
end

0 comments on commit cfd77a8

Please sign in to comment.