Commit Graph

5 Commits (da66d444b8112d768ae7b4d9c297f2c7dbe76ff7)

Author SHA1 Message Date
Dustin da66d444b8 Update .gitignore 2015-03-07 10:32:56 -06:00
Dustin 9394984137 watchlist,watchedpath: Query file type directly
I'm not entirely sure why, possibly a bug in some version(s) of GLib,
the file type returned by the `get_file_type` method of a `FileInfo`
object yielded by a `FileEnumerator` is always `UNKNOWN`. Querying the
file type directly using `File.query_file_type` works much more
reliably.
2015-02-15 00:23:19 -06:00
Dustin 299be2cb38 watchedpath: Flush stdio more often
When stdout/stderr is redirected to a file, they are typically opened in
fully-buffered mode. This makes it difficult to watch logs in real time,
unless the buffer is flushed every time a new message is written.
2015-02-15 00:22:49 -06:00
Dustin 439a53940c First working version 2015-02-01 19:02:47 -06:00
Dustin d8bf3d64cb Initial commit 2015-02-01 19:02:41 -06:00