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
When you run a command that is a source directory, Wanix builds the program and caches it in /sys/bin. If it exists there it will run that binary next time. However, if you make changes to the source, it should recompile next time you run it. Currently it will just use the existing binary. We can do this by checking the creation time of the binary against the modified time of the source files, similar to make.
The text was updated successfully, but these errors were encountered:
progrium
changed the title
check modified time when running source commands to recompile
compare modified time when running source commands with last compiled binary
Jan 23, 2024
…`initfs`
Closes#66
Enables proper live editing within Wanix! `proc.Spawn` will rebuild commands
from source if it's been modified, and `kernel.fs` will copy in `initfs` files
if they've been modified externally *(note this will overwrite local files
inside Wanix)*.
When you run a command that is a source directory, Wanix builds the program and caches it in
/sys/bin
. If it exists there it will run that binary next time. However, if you make changes to the source, it should recompile next time you run it. Currently it will just use the existing binary. We can do this by checking the creation time of the binary against the modified time of the source files, similar to make.The text was updated successfully, but these errors were encountered: