#define GB_WATCH_WRITE 2
Use this constant with the GB.Watch function to watch a file descriptor for writing.
/wiki/api/cat/watch