1.2.3 • Published 11 years ago

gulp-express-service v1.2.3

Weekly downloads
-
License
-
Repository
-
Last release
11 years ago

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 增加错误记录输出到控制台

1.2.3

11 years ago

1.2.2

11 years ago

1.2.1

11 years ago

1.2.0

11 years ago

1.1.1

11 years ago

1.1.0

11 years ago

1.0.5

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago