P
P
Pavel2017-03-09 21:31:06
phpstorm
Pavel, 2017-03-09 21:31:06

How to get around error when compiling Sass in PHPStorm?

Hello. Started learning PHPStorm. I created a test project, pulled Watcher for Sass there, and when compiling it gives the following error:
cmd.exe /D /C call C:/Ruby23-x64/bin/sass.bat --no-cache --update main.sass:C :\OpenServer\domains\localhost\wordpress-landing-page-lesson\C:\OpenServer\domains\localhost\wordpress-landing-page-lesson\_pasha_clean_html\css\main.css
Errno::EINVAL: Invalid argument @ rb_file_s_mtime - C:\OpenServer\domains\localhost\wordpress-landing-page-lesson\C:\OpenServer\domains\localhost\wordpress-landing-page-lesson\_pasha_clean_html\css\main.css
Use --trace for backtrace.
Process finished with exit code 1
Arguments code itself in watcher:
--no-cache
--update
$FileName$:$ContentRoot$\$FileParentDir$\$FileNameWithoutExtension$.css
How to fix the error? What have I done wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergey, 2017-03-09
@Fathummel

in the Arguments field enter:
$FileParentDir$/css/ is the path to the folder with css,
and in the Output paths to refresh field we write:

$FileParentDir$/css/$FileNameWithoutExtension$.css

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question