flow-status-webpack-plugin
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -17,3 +17,3 @@ var colors = require('colors'), | ||
if (options.restartFlow === false) { | ||
shell.exec(flow + ' start ' + flowArgs, cb); | ||
cb(); | ||
} else { | ||
@@ -53,3 +53,3 @@ shell.exec(flow + ' stop', function() { | ||
console.log('----------------\n'.red); | ||
} else { | ||
} else if (options.quietSuccess !== true) { | ||
console.log('\n-----------------------------'.green); | ||
@@ -59,3 +59,5 @@ console.log('Everything is fine with Flow!'); | ||
} | ||
console.log(stdout); | ||
if (options.quietSuccess !== true || hasErrors) { | ||
console.log(stdout); | ||
} | ||
console.error(stderr); | ||
@@ -62,0 +64,0 @@ |
{ | ||
"name": "flow-status-webpack-plugin", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"author": "Diego Durli <dgodurli@gmail> (https://github.com/diegodurli)", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -89,4 +89,20 @@ Flow Status Webpack Plugin | ||
If you don't want the plugin to display a message on success, pass | ||
`quietSuccess: true`: | ||
```js | ||
var FlowStatusWebpackPlugin = require('flow-status-webpack-plugin'); | ||
module.exports = { | ||
... | ||
plugins: [ | ||
new FlowStatusWebpackPlugin({ | ||
quietSuccess: true | ||
}) | ||
] | ||
} | ||
``` | ||
License | ||
------- | ||
This plugin is released under the [MIT License](https://opensource.org/licenses/MIT). | ||
This plugin is released under the [MIT License](https://opensource.org/licenses/MIT). |
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
6945
60
108