Avast antivirus and project modules

Any particular reason why this would occur?

Every-time I tried to compile the project the avast for the project module got moved into the virus chest.
And I got this error The game module '.....' could not be found. Please ensure that this module exists and that it is compiled - AnswerHub - Unreal Engine Forums.

Why would this happen? Should I add my project files to antivirus exceptions?