Skip to content

Commit e6cbf0d

Browse files
Update local compile server setup instructions so that code compiles (#221)
* Update local compile server setup instructions so that code compiles
1 parent 40960e5 commit e6cbf0d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,13 @@ stack build
100100
cd staging
101101
spago install
102102

103-
stack exec trypurescript 8081 $(spago sources)
103+
# Below, we disable glob expansion via `set -o noglob`
104+
# to prevent 'ModuleNotFound' errors. `purs` will handle
105+
# glob expansion correctly for us. See #220 for more contxt.
106+
#
107+
# We run this in a subshell so the change doesn't persist after
108+
# running the below command
109+
(set -o noglob && stack exec trypurescript 8081 $(spago sources))
104110
# should output that is is compiling the sources (first time)
105111
# then: Setting phasers to stun... (port 8081) (ctrl-c to quit)
106112
```

0 commit comments

Comments
 (0)