From 4343e0eb79b0324d7f4c4eed081780faeaa836a0 Mon Sep 17 00:00:00 2001 From: Michal Kozakiewicz Date: Mon, 9 Jan 2017 17:42:05 +0100 Subject: Add information about potentially slowing down webpack startup --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 + + + + -- cgit v1.2.3