diff options
author | Michal Kozakiewicz <morswin@gmail.com> | 2017-01-09 17:42:05 +0100 |
---|---|---|
committer | Michal Kozakiewicz <morswin@gmail.com> | 2017-01-09 17:42:05 +0100 |
commit | 4343e0eb79b0324d7f4c4eed081780faeaa836a0 (patch) | |
tree | 0cf5d2972456f083ad887c9891b365dbd08d89b2 /README.md | |
parent | 6ab1eca04a11dc5d8f725b3aa8515d94b6819e4b (diff) | |
download | purs-loader-4343e0eb79b0324d7f4c4eed081780faeaa836a0.tar.gz purs-loader-4343e0eb79b0324d7f4c4eed081780faeaa836a0.tar.zst purs-loader-4343e0eb79b0324d7f4c4eed081780faeaa836a0.zip |
Add information about potentially slowing down webpack startup
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -72,4 +72,18 @@ Default options: | |||
72 | 72 | ||
73 | Experimental support for instant rebuilds using `psc-ide-server` can be enabled | 73 | Experimental support for instant rebuilds using `psc-ide-server` can be enabled |
74 | via the `pscIde: true` option. | 74 | via the `pscIde: true` option. |
75 | You can use an already running `psc-ide-server` instance by specifying the port in `pscIdeArgs`. | 75 | You can use an already running `psc-ide-server` instance by specifying the port in `pscIdeArgs`, |
76 | if there is no server running this loader will start one for you. | ||
77 | |||
78 | |||
79 | #### Slower webpack startup after using purs-loader ? | ||
80 | |||
81 | By default, the psc-ide-server will be passed the globs from query.src, this is | ||
82 | helpful for other tools using psc-ide-server (for example IDE plugins), however | ||
83 | it might result in a slower initial webpack startup time (rebuilds are not | ||
84 | affected). To override the default behaviour, add: | ||
85 | `pscIdeServerArgs: { "_": ['your/*globs/here'] }` to the loader config | ||
86 | |||
87 | |||
88 | |||
89 | |||