Avoid .git folder when watching

When watching a git repository, every time a file gets updated the .git folder also gets updated which makes the whole page reload, which is not needed. ".git" folder should not be "watched"