From: Michal Kozakiewicz Date: Mon, 9 Jan 2017 16:42:05 +0000 (+0100) Subject: Add information about potentially slowing down webpack startup X-Git-Tag: 2.2.0~1^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=4343e0eb79b0324d7f4c4eed081780faeaa836a0;p=github%2Ffretlink%2Fpurs-loader.git Add information about potentially slowing down webpack startup --- diff --git a/README.md b/README.md index e4f0bf0..292ab85 100644 --- a/README.md +++ b/README.md @@ -72,4 +72,18 @@ Default options: Experimental support for instant rebuilds using `psc-ide-server` can be enabled via the `pscIde: true` option. -You can use an already running `psc-ide-server` instance by specifying the port in `pscIdeArgs`. +You can use an already running `psc-ide-server` instance by specifying the port in `pscIdeArgs`, +if there is no server running this loader will start one for you. + + +#### Slower webpack startup after using purs-loader ? + +By default, the psc-ide-server will be passed the globs from query.src, this is +helpful for other tools using psc-ide-server (for example IDE plugins), however +it might result in a slower initial webpack startup time (rebuilds are not +affected). To override the default behaviour, add: +`pscIdeServerArgs: { "_": ['your/*globs/here'] }` to the loader config + + + +