grunt-express
grunt-express copied to clipboard
Start an Express.js web server using grunt.js
I have the following Gruntfile config: ``` javascript grunt.initConfig({ express: { dev: { options: { port: 9000, hostname: '*', server: 'server', bases: ['.tmp','app'], livereload: true, serverreload: true, showStack: true }...
I need to install grunt modules watch. But I'm getting errors. using command: npm install grunt-contrib-watch --save-dev But I'm getting error. How to solve this? npm WARN unmet dependency which...
In: express > server > options > open if a url has a hash tag, it is escaped by the browser and becomes not a hash tag.
The statics and middleware are all placed at the end of the express pipeline in version 4. This appears to be because the pipeline has been moved from the application...
blai, I've corrected a typographical error in the documentation of the [grunt-express](https://github.com/blai/grunt-express) project. You should be able to merge this pull request automatically. However, if this was intentional or you...
Looking at the code, the `options.bases` array is added to the `watch` task with the `'/**/*.*'` extension, which means that everything under the bases folders is being watched. This is...
Is there a way to use URL rewrite rules? Is there another package that works with this one that allows rewrite rules? I'm trying to get this to work with...
Following the documentation, this does not work (copied from the documentation page): grunt.initConfig({ express: { myServer: { server: path.resolve(__dirname, 'server.js') } } }); This does: grunt.initConfig({ express: { myServer: {...
When user has already installed `grunt-contrib-watch` via npm before installing `grunt-express`, npm won't install it under `grunt-express/node_modules` (npm/npm#1341) which leads to the following: ``` > grunt express >> Local Npm...
Unable to start server using defaults. Saying that hostname is not specified. Documentation states that "localhost" is the default hostname. Gruntfile: ``` javascrtipt module.exports = function(grunt) { // Project configuration....