summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 907fc50..89c962c 100644
--- a/README.md
+++ b/README.md
@@ -34,9 +34,15 @@ dotnet test SomhairlesDream.sln
```sh
dotnet fable src/SomhairlesDream.Frontend/SomhairlesDream.Frontend.fsproj \
- --outDir public --noRestore
+ --outDir public --noRestore --noCache
```
+`--noCache` avoids fable's shared project-options cache, which is keyed by
+fsproj content: reusing it across checkouts of the same project can yield
+spurious `Fable namespace not defined` errors (and even leave a corrupted
+`App.js` behind after a failed compile). The same flag is required in the
+clean-checkout sequence below.
+
The server project copies `public/**` into its build output
(`CopyToOutputDirectory=PreserveNewest`), so rerun `dotnet build` on the server
after regenerating the bundle.