Skip to content

Commit

Permalink
fix: pass pollOptions to webpack (#7180)
Browse files Browse the repository at this point in the history
Co-authored-by: Sébastien Lorber <[email protected]>
Co-authored-by: Joshua Chen <[email protected]>
  • Loading branch information
3 people authored Apr 29, 2022
1 parent 47d89ae commit 7073cc3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/docusaurus/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ export async function start(
);

let config: webpack.Configuration = merge(await createClientConfig(props), {
watchOptions: {
ignored: /node_modules\/(?!@docusaurus)/,
poll: cliOptions.poll,
},
infrastructureLogging: {
// Reduce log verbosity, see https://github.com/facebook/docusaurus/pull/5420#issuecomment-906613105
level: 'warn',
Expand Down

0 comments on commit 7073cc3

Please sign in to comment.