Flex project: detect CSS changes when compiling

In my Flex project changes to CSS file are not includes to the compiled application swf.
After changing the mxml node source in
<fx:Style source="../style/sample.css" />
to
<fx:Style source="../style/sample_test.css" />
and back again, changes are visible in the compiled application.

Anyone else got this problem or is there something wrong with my setup?
I'm using IntelliJ IDEA 11.1.4.

1 comment
Comment actions Permalink

If css file is not within source folders IntelliJ IDEA may miss the change and compilation is just skipped as if nothing were changed since previous compilation. So workarounds are:
- move css file in source folder
- or make any fake change in any source file (e.g. just type space) to make sure that swf will be recompiled.

0

Please sign in to leave a comment.