Search code examples
compass-sassphpstormwebstorm

Setting Webstorm/PHPStorm file refresh time


It's probably just some simple setting I can't seem to find. Here's the thing: I have a web project with some Compass/Sass CSS. When I modify the Sass file, Compass automatically creates the corresponding CSS-file for me. If the file has changed, Webstorm uploads it to my server, all by itself. Neat!

However, Webstorm (or PHPStorm, for that matter) doesn't immediately notice the change in the CSS file, but checks on external modifications every 2 minutes or so. The CSS file is then being reloaded and uploaded to the server.

How do I set the time interval for checking for external changes!? 2 minutes (or so, I haven't timed it) is too much, I'd rather set it to 10 seconds. What would work for me too, is if I have the option to tell Webstorm to reload the CSS file, because I know it has changed. Sort of like F5 in eclipse. (F5 in Webstorm copies something and I can't find a refresh command or button anywhere.)

Thanks for helping out!

SOLUTION: See CrazyCoder's comment. Using the 6.0 EAP version of WS solves the problem.


Solution

  • Such command/action to manually "reload" already there -- 3rd button on main toolbar.

    File | Synchronize

    There is no option in user interface to make any adjustments for the interval. Only things like "Synchronize when IDE gathers focus".

    Maybe it is possible to pass some config values via *.vmoptions file, bit I know none of them for file watcher, unfortunately.