SAFE-Stack / SAFE-template

dotnet CLI template for SAFE project
MIT License
282 stars 88 forks source link

Add dotnet fable clean #443

Closed theprash closed 3 years ago

theprash commented 3 years ago

While working on SAFE apps I often find that Fable gets into a bad state with cached JS files which isn't fixed by restarting the build script, so I always add this command to delete all *.fs.js files.

FredericEspiau commented 3 years ago

Awesome 👍

theimowski commented 3 years ago

thanks :+1:

theimowski commented 3 years ago

@theprash this change has one unwanted consequence: when running dotnet run and dotnet run -- RunTests in parallel, one of them will fail because the other will wipe the required files. I'm gonna remove Clean target frorm RunTests chain to mitigate it