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.
请先登录再写评论。
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.