diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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. |
