Sorry , I just noticed the docs at the bottom states for coffeescript For
CoffeeScript support, add require('coffee-script') with CoffeeScript 1.6- or
require('coffee-script/register') with CoffeeScript 1.7+.
I added a require statement for my own compiler at the top of my gulp file
and it magically worked.
On Wednesday, 4 March 2015 11:32:32 UTC-5, Justin Maat wrote:
>
> I'm trying to use the gulp-mocha module
> <https://github.com/sindresorhus/gulp-mocha> but can't figure out a good
> way to pass over the compilers flag. Is there a way to include this in my
> gulp task? Maybe in a separate pipe somehow?
>
> Example if running mocha from command line (works fine)
> mocha --compilers .:my_compiler.js test/**/*.js
>
> Example if using gulp-mocha (but where can I specify a compiler)?
>
> gulp.task('test', function () {
> gulp.src(["test/**/*.js"], {
> read: false
> })
> .pipe(mocha({
> reporter: 'spec'
> }))
> .pipe(exit());});
>
> I don't see a compilers option under the gulp-mocha plugin, so I'm
> thinking I need to somehow add the compilers by adding the text somehow
> through a pipe? Have no idea how to do that however.
>
>
>
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/c7ea8f62-df53-44aa-a637-7095d955e38f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.