Skip to content

Commit bd980e6

Browse files
authored
exclude node_modules (#344)
1 parent 4af9a88 commit bd980e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/template/framework/files/air.toml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tmp_dir = "tmp"
77
bin = {{if .OSCheck.UnixBased }}"./main"{{ else }}".\\main.exe"{{ end }}
88
cmd = "make build"
99
delay = 1000
10-
exclude_dir = ["assets", "tmp", "vendor", "testdata"]
10+
exclude_dir = ["assets", "tmp", "vendor", "testdata", "node_modules"]
1111
exclude_file = []
1212
exclude_regex = ["_test.go"{{if .AdvancedOptions.htmx}}, ".*_templ.go"{{end}}]
1313
exclude_unchanged = false

0 commit comments

Comments
 (0)