9 Replies Last post: Mar 22, 2013 6:13 PM by Stuart Barker  
Jörg Wrase Newbie 69 posts since
Sep 17, 2012
Currently Being Moderated

Feb 7, 2013 9:08 AM

Background - File Watcher ?!?

Hi,

 

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?

 

cu

Kirill Safonov Apprentice 584 posts since
Jul 9, 2009
Currently Being Moderated
Feb 7, 2013 9:28 AM in response to: Jörg Wrase
Re: Background - File Watcher ?!?

Jorg, are you using PhpStorm?

Fedor Korotkov Newbie 74 posts since
Feb 23, 2012
Currently Being Moderated
Feb 7, 2013 1:15 PM in response to: Jörg Wrase
Re: Background - File Watcher ?!?

Here is the plugin

 

http://plugins.jetbrains.com/plugin?pr=idea&pluginId=7177

 

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

Fedor Korotkov Newbie 74 posts since
Feb 23, 2012
Currently Being Moderated
Feb 8, 2013 12:03 AM in response to: Jörg Wrase
Re: Background - File Watcher ?!?

You should create your own file watcher for Compass.

 

Check attached screenshot. It works for me.

Andrea Sciamanna Newbie 60 posts since
Sep 27, 2011
Currently Being Moderated
Mar 13, 2013 11:23 PM in response to: Fedor Korotkov
Re: Background - File Watcher ?!?

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.


Fedor Korotkov Newbie 74 posts since
Feb 23, 2012
Currently Being Moderated
Mar 14, 2013 6:32 PM in response to: Andrea Sciamanna
Re: Background - File Watcher ?!?

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 http://youtrack.jetbrains.com/issue/WEB-5802

Stuart Barker Newbie 14 posts since
Aug 23, 2012
Currently Being Moderated
Mar 22, 2013 6:13 PM in response to: Fedor Korotkov
Re: Background - File Watcher ?!?

I think I've managed to get compass working in PHPStorm on the Mac http://caracaldigital.com/file-watcher-for-compass-in-phpstorm-webstorm/

More Like This

  • Retrieving data ...