zig build test-cases --watch
does not pick up changes to source files
#20606
Labels
bug
Observed behavior contradicts documented or intended behavior
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
zig build system
std.Build, the build runner, `zig build` subcommand, package management
Milestone
Extracted from #20580.
Currently the
test-cases
test suite walks the filesystem during the configure phase, loads the source files into memory, and addsWriteFile
steps to write out the source code always totmp.zig
files, using those files as the inputs toCompile
steps.This issue is to rework the test cases to create the
Compile
steps directly using the source files fromtest/cases/*
. This will make the file system watching mechanism pick up the changes properly.Related:
The text was updated successfully, but these errors were encountered: