ges

gulp-express-service

Express development and debugging, restart it

Showing:

Popularity

Downloads/wk

10

Maintenance

No Maintenance Data Available

Package

Dependencies

3

Size (min+gzip)

13.7KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

USE:

var expressService = require('gulp-express-service');
gulp.task('coffee', function() {
    return gulp.src(paths.coffee)
    .pipe(coffee())
    .pipe(gulp.dest('build'))
    .pipe(expressService({file:'./build/service.js', NODE_ENV:'DEV'}));
});

gulp.task("watch", function() {
    gulp.watch(paths.coffee, ['coffee']);
});

service.js

express = require('express')
app = express()

app.get '/', (req, res)->
    console.log res
    res.send('hello world')

app.listen(3000);
console.log('Listening on port 3000');

1.2.3 package.json补全依赖express

1.2.2 启动优化

1.2.0 增加env支持

1.1.0 增加错误记录输出到控制台

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100