-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Compiling should create output directory #574
Comments
Great idea @SebastianOsuna, thanks for filing! If you'd like you could make a PR and end up on our hall of fame |
Will do. Give me a couple days to work on it ;) |
@keithamus just forked but tests fail with 'Segmentation fault (core dumped)' in the '.render(importer)#should override imports with "file" as input and fires callback with file and contents' test. What I did:
Am I doing something wrong? |
@SebastianOsuna seems like not your fault, issue #586 is tracking that issue. |
Looks like you're doing everything right @SebastianOsuna. I think @browniefed may be right; but @am11 may have some good insight into this. |
@SebastianOsuna, that specific test is passing on my master branch in Linux and Windows (but this is not definite that they will always pass, libuv is looking weirder by the second). But then there is another set of tests consistently failing on Linux ( Having said that, you can just ignore all that and implement your feature and test it by deleting test/api.js file and overwriting all tests in cli.js with your tests. Once your tests pass, copy them into buffer, Not the elegant way, but considering that we are going through this rough patch, fighting the memory leaks and affirming compatibility with libsass API v2, that is a timely workaround. node-sass will definitely improve over time. |
@am11 Thanks for the details. I got the tests to run on my Windows machine. There is one test failing though. 'cli -> node-sass -> in.css -> should render all watched files'. I expect to have the pull request for this issues soon :) |
|
Does this only apply to the CLI? Doesn't appear to work when I call the render function from JavaScript. |
@nozpheratu as is made clear in the documentation, the |
Hello guys,
I was using the library to build compile a scss file. I noticed the library doesn't use something like
mkdir
ormkdirp
to create the output directory in case it doesn't exists.Here is the command I used:
node-sass --output-style compressed src/css/my_project.scss lib/css/my_project.min.css
Thanks
The text was updated successfully, but these errors were encountered: