-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with windows... directives not found? #30
Comments
Ya... so... figured out that if I just do //=require ./file it works fine but if I do /*
*=require ./file
*/ it fails... on windows... Mac OS X parses the directives fine either way... |
Hmm. it's looks like so |
I don't have Windows to test. But I'm pretty sure it's related to the line breaks. |
Please close an issue if your problem is solved. |
Technically the problem isn't solved... :- should work according to your documentation. |
I'd say, if anything, this would be a bug. |
I got your point, but to be honest I don't have time (and even a machine) to work on Windows compatibility. If you have resources (human/time) I'll be proud to provide any help you'll need to understand where to fix what. Basically you'll need to "play" with one file only (directive processor). |
Okay, The directive processor is seeing \r\n for each line on Windows and \n on Mac. I'm not sure of the best way to fix it but my n00b mind told me to just do... this.data = this.data.replace(/\r/g,""); Somewhere but I'm sure that's probably a bad way to do it? |
I have a simple application.css that says
and the server is returning blank when visiting /assets/application.css
but when I go to /assets/file.css it renders properly.
I assume it's a file path issue, any way to turn on logging / debugging of file paths?
The text was updated successfully, but these errors were encountered: