PHPStorm uploads unrelated file with 0 bytes when watcher is running

I setup a Sass file watcher and set my automatic deployment to upload external changes.

Thus upon compiling it automatically uploads the generated css.

But suddenly it also uploads one unrelated php file with 0 bytes.

The only thing I can find is that this file and a scss file have a blue font color in the project tree. It seems that this means the php file is a children of something.

But I do not have an idea how to check what the parent is or how to unset it.

And I'm not even sure if that is related.

0
4 comments
Avatar
Permanently deleted user

Okay just now I can confirm by changing any setting in the deploy options I can fix that behavior.

Seems like a bug, doesn't it?

0

The description is pretty vague. Are you able to attach a screenshot of that file? Does this file get saved on a remote server?

0
Avatar
Permanently deleted user

Here is a screenshot of the project view. "_benefits.scss" and "_quick_guide.scss" are the files I'm actually editing and that apply to the file watcher.

"home.php" is the file that gets overwritten with 0 bytes.

I'm uploading to "Local or mounted folder".

Sometimes it works as expected and then suddenly I get that 0 byte thing.

0
Avatar
Permanently deleted user

Now this "Okay just now I can confirm by changing any setting in the deploy options I can fix that behavior." doesn't work either anymore.
I can only fix it manually by clicking "Upload to" after the watcher run. 

0

Please sign in to leave a comment.