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
Translation layer to convert internal UTF-8 to UTF-16 and back, for Win32 syscalls
Just use posix_spawn to start service instead of daemonize()
Will need to provide a posix_spawn implementation that covers starting the service and running trigger processes. May want to consider disabling triggers in the early stages of the port.
Translation layer switching forward slashes to backslashes and back, for Win32 syscalls (maybe?)
Watchman currently exclusively uses unix sockets to create a well-known endpoint on a per-user basis. Windows doesn't support unix domain sockets. The closest equivalent is the named pipe which doesn't really behave the same way at all, but has similar characteristics. Another option is use TCP sockets and bind to the loopback. This is more appealing because more portable tools know how to talk to TCP sockets than NT named pipes. The drawback is that having a well-known port works great only for single-user scenarios.