PLGAJS-94 monitor generated files only and add them back instead of keeping the whole files