grunt-express
grunt-express copied to clipboard
Start an Express.js web server using grunt.js
I can't figure out how to make it run a coffeescript server instead of a javascript one.
if the placeholder is `used` at a `path`, the real middleware(s) will be `used` at the same `path` ``` app.use('/static', function staticPlaceholder(req, res, next ){ next() }); ```
``` express: { all: { options: { port: 9000, hostname: "0.0.0.0", bases: path.resolve(__dirname, 'public'), server: path.resolve(__dirname, 'mtairport.js'), livereload: true, serverreload: true } } } ``` If I add serverreload (as...
Hello, I meet an issue that livereload script does not be appended to html in express+socket.io server. **Demo project here:** https://github.com/Alexorz/grunt-express-angular-example/tree/Demo_for_issue **Versions:** grunt-express: 1.4.0 (got another issue on 1.4.1) express:...
I'm running an Express server through my own yeoman generator using grunt-express. I set a watch for Stylus files as such ``` stylus: { files: ['/styles/src/**/*.styl'], tasks: ['stylus'] }, ```...
Allow "connect-like" object to be passed to grunt-express as the "server" rather than just a string. This allows for grunt to pass configuration to the server, such as things from...
My grunt express settings: ``` express: { options: { port: 3000 }, livereload: { options: { livereload: true, bases: "build", server: path.resolve('server/grunt-index.js'), showStack: true, middleware: [ function myMiddleware(req, res, next)...
The middlewares without `middlewarePriority` property get scrambled by rearrangeMiddleware. Printing the middleware stack before and after shows that livereload (with middlewarePriority=-1) always becomes the first middleware, and staticMiddleware comes after...
I started a Foundation 5 project and added `grunt-express` to my `Gruntfile.js`. Here is what it looks like: ``` module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), sass: { options: {...