aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2017-02-19 11:29:57 -0500
committereric thul <thul.eric@gmail.com>2017-02-19 12:10:43 -0500
commitdf8798fa0eeeb3dfcce14dc10100b03f708b57f6 (patch)
tree4357fadcb0bd9c7fe73b38c6a3adcd305834d980 /README.md
parent8e21ab0ab3f8ba9d129f1cf3b59f87d7a2b5bfc2 (diff)
downloadpurs-loader-df8798fa0eeeb3dfcce14dc10100b03f708b57f6.tar.gz
purs-loader-df8798fa0eeeb3dfcce14dc10100b03f708b57f6.tar.zst
purs-loader-df8798fa0eeeb3dfcce14dc10100b03f708b57f6.zip
Add a watch option
Similar to the way psc-ide support works, the purs-loader now tolerates compiler errors when the `watch` option is true. When webpack is being run in watch mode the user can set `watch` to true in order to avoid failing the webpack bundle creation when the PureScript compiler fails. Resolves issue #66 Resolves issue #73 Resolves issue #74
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3b31354..931e4e6 100644
--- a/README.md
+++ b/README.md
@@ -61,6 +61,7 @@ const loaderConfig = {
61 bundleNamespace: 'PS', 61 bundleNamespace: 'PS',
62 bundle: false, 62 bundle: false,
63 warnings: true, 63 warnings: true,
64 watch: false, // indicates if webapck is in watch mode
64 output: 'output', 65 output: 'output',
65 src: [ 66 src: [
66 path.join('src', '**', '*.purs'), 67 path.join('src', '**', '*.purs'),