Skip to content
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

preprocessor does not support literate coffeescript, and discrepancies between running with coffee preprocessor and actually compiling the litcoffee files #25

Open
steveerfalot opened this issue Nov 21, 2014 · 2 comments

Comments

@steveerfalot
Copy link

It would be nice to get support for literate coffeescript. Currently, if there are literate comments in any of the code the preprocessor will treat them as code and throw compile errors.

The preprocessor also fails tests that are passed when the javascript is compiled already. I've tried to figure out why, and haven't been able to. I thought the best way to get your attention was to raise an issue.

@luk3thomas
Copy link

Have you tried adding literate: true to your coffeePreprocessor options?

    coffeePreprocessor: {
      options: {
        bare: true,
        sourceMap: false,
        literate: true
      }
    },

@bilalq
Copy link

bilalq commented Jan 4, 2015

This seems to be problematic when you have a mix of literate and non-literate coffeescript in your code.

I like to use literate CS for my actual application, but I just write tests in vanilla CS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants