From 12de97b8d17d734f23bed9a73b2bf8c1f933ab96 Mon Sep 17 00:00:00 2001 From: Milas Bowman Date: Tue, 9 Mar 2021 13:05:32 -0500 Subject: [PATCH] filewatch: use apiserver FileWatch model in EngineState (#4277) This follows the "action-first" approach to use the apiserver model for `FileWatch` and dispatch simple create/update/delete actions. --- pkg/watch/ephemeral.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/watch/ephemeral.go b/pkg/watch/ephemeral.go index 68001101..0d7ce948 100644 --- a/pkg/watch/ephemeral.go +++ b/pkg/watch/ephemeral.go @@ -14,7 +14,7 @@ import ( // there or aren't in the right places. // // https://app.clubhouse.io/windmill/story/691/filter-out-ephemeral-file-changes -var ephemeralPathMatcher = initEphemeralPathMatcher() +var EphemeralPathMatcher = initEphemeralPathMatcher() func initEphemeralPathMatcher() model.PathMatcher { golandPatterns := []string{"**/*___jb_old___", "**/*___jb_tmp___", "**/.idea/**"}