Commit Graph

10 Commits

Author SHA1 Message Date
c06bda918b
upgrade to zig 0.12.0 2024-05-02 14:38:04 -07:00
7e2a3b04fa
straighten out socket file mess, part 1
This was the hard part. Under abnormal termination (kill -9,
seg faults, whatever) socket files do not get cleaned up properly.
As long as this is the IPC mechanism, there is very little that
can be done about this. So, with this change we are leaving them
to linger. Fixing this we can do one of two things. First,
we can look for EADDRINUSE and just delete the file and retry.
However, that prevents someone from running two binaries at the
same time (maybe to run two servers on different ports). The
second option is to make the files unique, so this is the path
chosen. Here we append a system timestamp to the file name.

Part two of this eventually will need to be locating the TEMP
directory and placing the files there.
2023-10-26 15:41:07 -07:00
d32beac025
update to zig 0.11.0-dev.3886+0c1bfe271 2023-07-03 15:27:21 -07:00
7b271a0698
upgrade to zig 0.11.0-dev.3312+ab37ab33c 2023-05-31 16:19:31 -07:00
5f0785aaba
add todos in watch process 2023-05-12 17:11:36 -07:00
f57189fbfd
add proper http server 2023-05-11 13:09:33 -07:00
4c3945e874
watcher fully functional 2023-05-11 07:15:27 -07:00
4a1548b4be
add control channel through socket 2023-05-10 15:05:44 -07:00
1dd2a49daf
add documentation to watch 2023-05-09 10:08:23 -07:00
5e09b735c6
add file watcher 2023-05-09 09:18:38 -07:00