Issue with watch script on »Bash on Ubuntu on Windows« and saving in PhpStorm

Recently I had a problem with a running watch script on Bash on Ubuntu on Windows (the Windows Subsystem for Linux (WSL)) to compile SASS and saving of files in PhpStorm. PhpStorm showed an error message »Cannot save. The file is left unchanged« and created a temporary file with the changes.

I found the solution for that in the support forum from JetBrains. To solve the issue, just uncheck the box Use »Safe write« in the PhpStorms settings under File › Settings › Appearance & Behavior › System Settings.

Leave a Reply

Your email address will not be published. Required fields are marked *

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.