compass watch compiles once, fails to notice further changes

后端 未结 6 910
别那么骄傲
别那么骄傲 2021-02-14 10:48

I work with SASS + Compass on Windows 7. I recently upgraded SASS from 3.2.10 to 3.4.2 and Compass from 0.12.2 to 1.0.1. I did the upgrade by uninstalling the old versions and i

6条回答
  •  天涯浪人
    2021-02-14 11:09

    In my case, i was Using winscp for file transfer.
    Compass watch didnot detect any changes in modified.

    Did all the above mentioned changes but still did not work.
    After hours of debugging found that winscp was preserving the file timestamp and that was causing the issue.

    To fix that :
    1) In your WinSCP go to Option -> Preferences -> Transfer
    2) Edit the preset you are using 3) Uncheck the preserve timestamp option.

    That's it!! And compass started detecting changes and writing them.

提交回复
热议问题