Skip to content

Commit

Permalink
Ignore build and node_modules folder for webpack --watch (#1193)
Browse files Browse the repository at this point in the history
Before, the page was reloaded two additional times, uselessly, as
webpack was triggered by changes in `build`.
  • Loading branch information
owi92 authored Jul 1, 2024
2 parents 4251d14 + 91901e5 commit 57d2716
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ const config: CallableOption = (_env, argv) => ({
},
},

watchOptions: {
ignored: [OUT_PATH, "**/node_modules"],
},

resolve: {
extensions: [".ts", ".tsx", ".js", ".json"],
// For local appkit development, see this for more details:
Expand Down

0 comments on commit 57d2716

Please sign in to comment.