Skip to content

Conversation

@jakubDoka
Copy link
Contributor

This should resolve #20602.

I have tested this manually and it works. I have the following questions:

  • Do we have any automated tests that can test this?
  • Is the way I reload on the build script the most efficient way?
  • Is it fine for the watch to end when there is an error in the build script?
  • Of I resolve the build script path correctly (are there any edge cases that would break this)

@jakubDoka jakubDoka force-pushed the watch-rebuild-build-script branch from 241e37d to ac13c1a Compare July 28, 2024 10:42
@jakubDoka jakubDoka changed the title Waking watch reload the build script if it changes Making watch reload the build script if it changes Jul 28, 2024
@alexrp
Copy link
Member

alexrp commented Mar 26, 2025

Would this trigger a rebuild if a file that build.zig imports changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make zig build --watch detect modifications to the build script and rerun itself

2 participants