如何让compass更新.css文件并显示新内容而无需手动同步

如何让compass更新.css文件并显示新内容而无需手动同步,css,sass,compass-sass,webstorm,compass,Css,Sass,Compass Sass,Webstorm,Compass,我正在使用WebStorm EAP 142.4723。我可以创建.scss并将它们输出到css目录中的.css文件中 但是,要查看.css文件中的更改内容,我必须手动同步该文件以查看更改 当我使用p:\Ruby22-x64\bin\scss.bat创建Filewatcher时,文件会实时更新,显示其内容,而无需手动同步 config.rb compass FileWatcher的屏幕截图 我应该传递哪些参数以立即显示内容 谢谢最后一个字段:要刷新的输出路径--将其指向实际文件而不是文件夹。J:

我正在使用WebStorm EAP 142.4723。我可以创建.scss并将它们输出到css目录中的.css文件中

但是,要查看.css文件中的更改内容,我必须手动同步该文件以查看更改

当我使用p:\Ruby22-x64\bin\scss.bat创建Filewatcher时,文件会实时更新,显示其内容,而无需手动同步

config.rb compass FileWatcher的屏幕截图

我应该传递哪些参数以立即显示内容


谢谢

最后一个字段:
要刷新的输出路径
--将其指向实际文件而不是文件夹。J:/workspace/epimss/dart/epimss\u app/sass/*。css不起作用。同样的结果。它应该是精确的文件名——根本没有掩码。如果有多个-,则应以
分隔列出,例如(从TypeScript file watcher中)
$FileNameWithoutExtension$.js:$FileNameWithoutExtension$.js.map
感谢您的建议。但是,对于许多文件,该方法不能很好地扩展。我可以使用scss.bat和更改上面UI中的参数来完成同样的事情。我想我会用scss.bat来代替,直到我找到其他方法。再次感谢。我不知道你说的“很多文件”是什么意思。我的意思是——File Watcher的最初想法是只逐个编译更改过的文件(无论是独立文件..还是包含大量include的主文件;如果修改了部分文件,则编译主(根)文件)。如果其他文件没有更改,为什么要重新编译整个文件夹?对于这种设置,最好使用Gulp/Grunt任务。
require 'compass/import-once/activate'
# Require any additional compass plugins here.

# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"

# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed

# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true

# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false


# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
# preferred_syntax = :sass
# and then run:
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv `scss sass`