SASS --watch issue on windows 8.1

后端 未结 3 1710
梦毁少年i
梦毁少年i 2021-01-21 02:31

I\'ve got some issues with SASS. After updating the .scss file, the .css file won\'t update.

Lets say that this is my folder structure:

3条回答
  •  不思量自难忘°
    2021-01-21 02:45

    I had same problem and upon solution didn't helped. Looks like ruby on windows 8 has WDM (Windows Directory Monitor) problem and --watch command is not working properly.

    I solved problem in this way:

    1. Downloaded and installed Installed Ruby 1.9.3p550 - Download link
    2. Downloaded and installed Development Kit (which is required to install WDM) for Ruby 1.9.3 - DevKit-tdm-32-4.5.2-20110712-1620-sfx.exe
    3. Extract DevKit to path C:\Ruby193\DevKit
    4. Run cd C:\Ruby193\DevKit
    5. Run ruby dk.rb init
    6. Run ruby dk.rb review
    7. Run ruby dk.rb install
    8. Then run gem install wdm

    And after that, --watch command is working properly.

    Hope this way will help someone.

提交回复
热议问题