0

Is there a way to compile a scss file using the sass command line where the source file resides in a remote location?

i.e.

sass http://example.com/scss-files/style.scss /path/to/static/assets/output.css

when I try to do that (with a real source file, of course) I get this error:

Errno::ENOENT: No such file or directory - http

Is there a way to do that?

Thanks in advance.

Gabriel Amram
  • 2,700
  • 2
  • 19
  • 29
  • related: http://stackoverflow.com/questions/16947337/can-i-import-an-externally-hosted-file-with-sass – cimmanon Oct 17 '14 at 15:32

1 Answers1

0

Sadly there isn't a way to do this. What you could do is mount your site as a folder using Panic's Transmit, compile your SASS and then sync your site with the live site. It isn't ideal, but it's the closest to what you want.

Frank Kluytmans
  • 533
  • 2
  • 10
  • 25