Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion test/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,11 @@ export const ElmLanguage: Language = {
// package cache when parallel compiles race on a cold cache (still
// reproducible with elm 0.19.2).
setupCommand: "rm -rf elm-stuff && elm make Warmup.elm --output=/dev/null",
compileCommand: "elm make Main.elm --output elm.js",
// The retry after clearing elm-stuff works around the compiler's flaky
// per-project cache locking ("d.dat: withBinaryFile: resource busy",
// elm/compiler#2258), which strikes under heavy parallel load.
compileCommand:
"elm make Main.elm --output elm.js || (rm -rf elm-stuff && elm make Main.elm --output elm.js)",
runCommand(sample: string) {
return `node ./runner.js "${sample}"`;
},
Expand Down
Loading