Skip to content

Compile gulpfile.coffee before running Gulp? #1

@brod-ie

Description

@brod-ie

Whenever I run this example I get the below output:

$ gulp --require=gulp-coffee
[gulp] Requiring external module gulp-coffee
[gulp] No gulpfile found

So I tried specifying a gulpfile which results in an "unexpected character" error meaning it was expecting JS and not Coffeescript:

tion (exports, require, module, __filename, __dirname) { gulp = require 'gulp'
                                                                        ^^^^^^
SyntaxError: Unexpected string

Does this mean that you must manually compile gulpfile.coffee before running Gulp? Because you require gulp-coffee I assumed this wasn't the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions