You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Watcher should build once directly when running zig build watch
unable to check cache: stat file '(ROOT)/src/cart.ld' failed: FileNotFound errors when running zig build watch
Placing the zig root source file in the root (rather than e.g. a src/ subdir) will cause the watcher to watch all files in the whole root dir, including zig-cache which causes errors and breaking the watcher whenever the cache changes. EDIT: Solved using watch_dirswatch: add watch_dirs option #33.
Watcher is finicky if wanting to have auto-converted assets because source assets should be watched but output assets shouldn't. I solved this personally by putting assets outside of the src/ directory, but that then means that the watcher won't reload when the sources change. Perhaps it would be best for users to manually specify watched dirs/files in build.zig? For most users it would likely just be src/ and assets/raw/ anyways. EDIT: Solved using watch_dirswatch: add watch_dirs option #33.
wasm4.blit
wasm4.zig
functions use structs for readabilityThe text was updated successfully, but these errors were encountered: