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 attempting to execute a program, if it's a source directory containing Go files, run it through the Build tool and cache the resulting binary in /sys/bin. This should happen at the kernel level instead of the shell.
…ctories
Closes#88Closes#89
I though it was a bit silly casting `s.fsys` everywhere,
so I modifed `fs.go` to store the `watchfs` seperately.
There was also an issue in `wasm.js:writeSync()` where it would be passed
a null value for `buf` after the build tool finished in `proc.go:Spawn()`.
I added a catch-all fix, but perhaps its a bug that the null is passed in the
first place.
There's still some kinks to work out before you can edit the shell seamlessly,
namely using better heuristics for when files should be updated/rebuilt. We can use
mtime/ctime for those.
When attempting to execute a program, if it's a source directory containing Go files, run it through the Build tool and cache the resulting binary in
/sys/bin
. This should happen at the kernel level instead of the shell.Related #66 #69
The text was updated successfully, but these errors were encountered: