fix: --no-cache on server DependencyBuildMode.never (#5583)
Have the server disable Lake build cache fetches (via `--no-cache`) on time-sensitive file opens (i.e.,, `DependencyBuildMode.never`).
This commit is contained in:
parent
e3811fd838
commit
9dcd2ad2a3
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ partial def runLakeSetupFile
|
|||
: IO LakeSetupFileOutput := do
|
||||
let mut args := #["setup-file", filePath.toString] ++ imports.map (toString ·.module)
|
||||
if m.dependencyBuildMode matches .never then
|
||||
args := args.push "--no-build"
|
||||
args := args.push "--no-build" |>.push "--no-cache"
|
||||
let spawnArgs : Process.SpawnArgs := {
|
||||
stdin := Process.Stdio.null
|
||||
stdout := Process.Stdio.piped
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue