0

I am deploying my project automatically to a remote server. All files that are changed are automatically uploaded to the server, so this is OK. I have a file watcher (Compass SCSS) to transpile my .scss into .css. When the .sccs file is changed it is uploaded to the remote server, but the transpiled .css file is not.

In the deployment options the "Upload external changes" checkbox is checked (see screenshot). In the file watcher settings the "Output paths to refresh" is set to the folder where the transpiled .css file is located.

However, the .css file is not automatically uploaded when it is changed. When I set the focus onto a window outside of PhpStorm and then back onto the PhpStorm IDE the .css file is uploaded, but I want to avoid changing windows to get it uploaded.

Is there something I am missing?

Deployment options screenshot

2

1 Answer 1

0

Thanks for your feedback!

It is solved now, I was using absolute paths in the file watcher settings instead of the macro placeholders (like $ProjectFileDir$). For some reason PhpStorm is not detecting changes when absolute paths are used.

// B

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.