Background - File Watcher ?!?


mayby I'm stupid but:

5. We’ve renamed Background tasks feature (that compile your TypeScript to JavaScript, LESS to CSS and so on) to File Watchers, which seems to be more appropriate name.

I can't find anything like that in the IDE.

Now I'm using Compass - I start compass with

cmd->compass watch

(yes, windows)

Is it possible to to that automaticly in phpstorm?



Here is the plugin

You can install it from the IDE: Settings -> Plugins -> Browse repo -> File Watcher -> Right click -> install


Thank you very much,

now I have to learn how it works.

I have the lines

@import "compass/reset";
@import "compass/css3/box-shadow";

in my SCSS.

But I got an Errormsg:

C:\Ruby\bin\scss.bat --no-cache --update main.scss:main.css
      error main.scss (Line 2: File to import not found or unreadable: compass/reset.
Load path: D:/_Daten/_SERVER/_TEST/1.test/htdocs/inc/css/sass)

Here are my settings:


When I go /htdocs dir an start cmd=>compass watch it works fine.

I have a conig.rb

http_path = "/"
css_dir = "inc/css"
sass_dir = "inc/css/sass"
images_dir = "mat/cssimg"


You should create your own file watcher for Compass.

Check attached screenshot. It works for me.

Screen Shot 2013-02-08 at 12.01.39 AM.png


at first: now it works (very fine!!!!)

But it took a litle bit - because I'm on a Windows System. So it works with this for me (and I think for other windows users):


And I have a config.rb in the htdocs:

http_path = "/"
css_dir = "/inc/css"
sass_dir = "/inc/css/sass"
images_dir = "/mat/cssimg"


I'm quite sure the most part of SASS users are also Compass users and I wonder why JetBrains didn't implement support for compass.
I must say I'm a bit disappointed.

The configuration you've suggested doesn't make much sense, as if you already have a config.rb file set you don't need to specify all these paths, but also it doesn't seem possible to simply call "compass compile" or "compass watch" with the Watcher: I'll stick with my custom external tool.


It is possible to call 'compass compile' and refresh all project. But I think you will need to disable 'Immediate file sync' option to reduce the amount of compilations. Also generated files won't be nested under the original scss file.

Compass Support in progress. Please vote up this issue


Please sign in to leave a comment.