BitBar Webpack Status Plugin
The plugin simply writes one of the following statuses:
-1
(red), failed build0
(yellow), build in progress1
(green), build successful
Into a file /tmp/webpack-status
.
Should be used in conjunction with BitBar to display
webpack compilation status in OSX status bar.
Installation
npm install bitbar-webpack-status-plugin --save-dev
Usage
var BitBarWebpackStatusPlugin = ; // webpack configurationvar config = entry: … output: path: … filename: … plugins: ;moduleexports = config;
Options
filePath
You can configure the file where the status is written with this option.
var BitBarWebpackStatusPlugin = ; // webpack configurationvar config = entry: … output: path: … filename: … plugins: filePath: "/tmp/whatever-status" ;moduleexports = config;
Bitbar
The plugin can be used in conjuction with BitBar Script present in this repository to display build process status in OSX status bar.