Skip to content

Commit

Permalink
Ignore .stack-work/ in watcher for #106
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Jan 8, 2025
1 parent 8edb73f commit e1e2399
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Hot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,9 @@ const initMutable =
// backslashes on Windows never matches.) The trailing slash is important:
// It makes it possible to get notifications of a removed elm-stuff
// folder, while ignoring everything that happens _inside_ that folder.
ignored: /\/(elm-stuff|node_modules)\//,
// For `.stack-work/`, see https://docs.haskellstack.org/en/stable/topics/stack_work/ and
// https://github.com/lydell/elm-watch/issues/106.
ignored: /\/(elm-stuff|node_modules|\.stack-work)\//,
disableGlobbing: true,
});

Expand Down

0 comments on commit e1e2399

Please sign in to comment.