grunt-nodestatic
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "grunt-nodestatic", | ||
"description": "Start a node-static web server.", | ||
"version": "0.1.0", | ||
"description": "Start a node-static web server (perfect as a development server combined with watch or regarde).", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/ia3andy/grunt-nodestatic", | ||
@@ -6,0 +6,0 @@ "author": { |
# grunt-nodestatic | ||
> Start a node-static web server. | ||
> Start a node-static web server (perfect as a development server combined with watch of regarde). | ||
@@ -30,3 +30,6 @@ | ||
This task was designed to be used in conjunction with another task that is run immediately afterwards, like the [grunt-contrib-qunit plugin](https://github.com/gruntjs/grunt-contrib-qunit) `qunit` task. | ||
This task was designed to be used in conjunction with another task that is run immediately afterwards, like the [grunt-contrib-watch plugin](https://github.com/gruntjs/grunt-contrib-watch) `watch` task. | ||
This plugin is perfect for development purpose combined with grunt watch. | ||
### Options | ||
@@ -61,2 +64,8 @@ | ||
#### verbose | ||
Type: `Boolean` | ||
Default: `false` | ||
If true, show each file requested on the server with differents colors following the status code | ||
#### headers | ||
@@ -129,2 +138,3 @@ Type: `Object` | ||
* 2013-04-11 v0.1.0 First working version | ||
* 2013-04-14 v0.1.1 Fix dev mode and verbose option | ||
@@ -131,0 +141,0 @@ |
@@ -39,3 +39,3 @@ /* | ||
if(options.nocache){ | ||
if(options.dev){ | ||
if(serverOptions.headers == null){ | ||
@@ -42,0 +42,0 @@ serverOptions.headers = {} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11326
151