You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 15, 2023. It is now read-only.
Since ruby host has the capability of launching embedded compiler process and keep re-using it, here is another experiment involving changing working directory on host after embedded compiler has been launched:
require'sass-embedded'File.write('child.scss','a{b:c}')Sass.info# launch dart-sass-embedded in the same working directory as hostDir.chdir'/tmp'do# change working directory of host# import can still be resolved relative to compiler's working directoryputsSass.compile_string('@import "child.scss";').cssend
The text was updated successfully, but these errors were encountered:
compileString
should not resolve imports relative to working directory of compiler process.This issue can be reproduced with both node host and ruby host.
Correct behavior of throwing
[Error]: Can't find stylesheet to import
onsass
:Reproduction with node host:
Reproduction with ruby host (fixed in 1.3.0, need version before <1.3 to reproduce):
Since ruby host has the capability of launching embedded compiler process and keep re-using it, here is another experiment involving changing working directory on host after embedded compiler has been launched:
The text was updated successfully, but these errors were encountered: