From 06f5c2329176670dad657f328982936b51828854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20J=C4=99drzejewski?= Date: Wed, 23 Jan 2019 16:48:47 +0100 Subject: [PATCH] Fix encore advanced config watchOptions example --- frontend/encore/advanced-config.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/encore/advanced-config.rst b/frontend/encore/advanced-config.rst index 7dc4aec9499..cbadbf5dd84 100644 --- a/frontend/encore/advanced-config.rst +++ b/frontend/encore/advanced-config.rst @@ -18,7 +18,7 @@ modify the config after fetching it from Encore: // fetch the config, then modify it! var config = Encore.getWebpackConfig(); - config.watchOptions = { poll: true, ignored: /node_modules/ }; + config.devServer.watchOptions = { poll: true, ignored: /node_modules/ }; // other examples: add an alias or extension // config.resolve.alias.local = path.resolve(__dirname, './resources/src');