Add support for file watching in the Opsmatic agent