# build-status

> show gulp build status in the browser

Latest version **1.0.15** (published 2015-03-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install build-status
pnpm add build-status
yarn add build-status
bun add build-status
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.15 |
| Published | 2015-03-08 |
| First published | 2014-10-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Charlie Schwabacher |
| Maintainers | charlieschwabacher |

## Links

- npm: https://www.npmjs.com/package/build-status
- Repository: https://github.com/charlieschwabacher/build-status
- Issues: https://github.com/charlieschwabacher/build-status/issues
- npm.io page: https://npm.io/package/build-status

## Dependencies (1)

- [ws](https://npm.io/package/ws.md) ^0.4.32

## Recent versions

- 1.0.15 (latest) — 2015-03-08
- 1.0.14 — 2014-10-15
- 1.0.13 — 2014-10-15
- 1.0.12 — 2014-10-15
- 1.0.11 — 2014-10-15
- 1.0.10 — 2014-10-15
- 1.0.9 — 2014-10-15
- 1.0.8 — 2014-10-15
- 1.0.7 — 2014-10-14
- 1.0.6 — 2014-10-14
- 1.0.5 — 2014-10-14
- 1.0.4 — 2014-10-14
- 1.0.3 — 2014-10-14
- 1.0.2 — 2014-10-14
- 1.0.1 — 2014-10-14
- … 1 more at https://npm.io/package/build-status/versions

## README

build-status
============

Use websockets to show gulp build status in the browser.

`npm install --save-dev build-status`

in your gulpfile:

```coffeescript
gulp = require 'gulp'
coffee = require 'gulp-coffee'
buildStatus = require 'build-status'

statusServer = buildStatus.server()

gulp.task 'build', ->
  statusServer.send 'building'

  gulp.src './src/*.coffee'
    .pipe coffee()
    .on 'error', -> statusServer.send 'error'
    .pipe gulp.dest './public/'
    .on 'end', -> statusServer.send 'done'

gulp.task 'default', ->
  gulp.watch 'scripts/**', ['build']
```

in your client script:

```coffeescript
(require 'build-status').client()
```

This will add 'build-status-building' and 'build-status-error' classes to the
body while assets build or have errors, and refresh the page after builds
complete.

---
_Source: https://npm.io/package/build-status · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
