Skip to content

use programmatically with gulp #23

@DarkPark

Description

@DarkPark

was not able to make it work
maybe you will see the problem
it's a cli app

#!/usr/bin/env node

var gulp = require('gulp');

gulp.task('repl', function () {
    var runtime = require('gulp-runtime');
    runtime.setPrompt('>');
});

// exec selected task
gulp.start('repl');

and no REPL, error output:

[19:18:48] Starting 'repl'...
[19:18:48] From plugin `gulp-runtime`
[19:18:48] Working directory changed to /usr/bin
[19:18:48] Using gulpfile Error: configFile `stb.js` not found in `/usr/bin`
[19:18:48] Finished 'repl' after 0,120588953
[19:18:48] From plugin `gulp-runtime`
[19:18:48] Task 'default' is not in your gulpfile
[19:18:48] Please check the documentation for proper gulpfile formatting

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions