I use Apache server to serve websites for web development. This way I constantly save and edit files.
I use Gulp for Sass and for concat and uuglify css and js files.
A month ago, I am having problems with my js and css files. It seems like randomly generated \ u0 characters are added under the files.
These characters are not visible in the code editor only in the browser: 
Chrome says: SyntaxError: invalid or unexpected Firefox token says: "SyntaxError: illegal character"
I also see characters when opening CSS / SCSS files. CSS forgives and continues to work. JS stops working when characters are added.
The problem does not occur when the file is empty. But if there is only when a simple line of code (for example:) console.log('test');, a problem may arise.
My first bet was here: There is no apparent reason for "Unexpected ILLEGAL token"
Although I could successfully change the apache configuration, the problem still persists.
I have no idea if this is a Gulp related issue or an Apache related issue. Even gulpfile.js itself sometimes adds these hidden characters. So is it probably not related to gulp?
I found a way to create files without hidden characters. First I need to completely delete the contents of the file. Then save it. Then add the lines that I wanted to create. Only the first time you save this will work. When I save again, hidden characters will be added again.
, . : apache . , .
, - .
:
SMB AFP. .