mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +02:00
fix: pass pollOptions to webpack (#7180)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com> Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
47d89ae0fe
commit
7073cc3462
1 changed files with 4 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue