Listen on file mode change
Add some integration specs