{"id":15066656,"url":"https://github.com/devanb/build-error-notifier","last_synced_at":"2026-02-08T18:01:27.072Z","repository":{"id":34621860,"uuid":"38570959","full_name":"DevanB/build-error-notifier","owner":"DevanB","description":"Build error notifications for your build toolchain. Supports browserify, jasmine-node (test runner), karma (test runner), node-sass, tsc (typescript compiler), and tslint. More to come.","archived":false,"fork":false,"pushed_at":"2017-07-01T21:33:21.000Z","size":221,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-26T03:03:26.655Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://npm.im/build-error-notifier","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DevanB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-05T13:58:30.000Z","updated_at":"2016-11-01T19:40:55.000Z","dependencies_parsed_at":"2022-09-16T11:12:58.201Z","dependency_job_id":null,"html_url":"https://github.com/DevanB/build-error-notifier","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevanB%2Fbuild-error-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevanB%2Fbuild-error-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevanB%2Fbuild-error-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevanB%2Fbuild-error-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevanB","download_url":"https://codeload.github.com/DevanB/build-error-notifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299784,"owners_count":20916183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-25T01:10:23.483Z","updated_at":"2026-02-08T18:01:27.014Z","avatar_url":"https://github.com/DevanB.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# build-error-notifier\nBuild error notifications for your build toolchain. Supports browserify, jasmine-node (test runner), karma (test runner), node-sass, tsc (typescript compiler), and tslint. More to come.\n\n![Example](https://raw.githubusercontent.com/DevanB/build-error-notifier/master/docs/images/example.png)\n\n## What is this?\nA CLI tool which notifies you of errors from your build process. Simply [pipe](https://en.wikipedia.org/wiki/Pipeline_(Unix)) build output to `build-error-notifier`. It recognizes output from a growing list of CLI build tools; see the Usage section for details.\n\nRecognized error messages are displayed using the [node-notifier](https://www.npmjs.com/package/node-notifier) module.\nOnly the basic information, such as the tool, the file, and the line number are displayed in the notification\n\nAll input, whether recognized or not, is piped to stdout, so the full error messages will still appear in the terminal log.\n\nIt has been designed to play well with [npm based](http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/) build environments, or with any kind of \"watching\" CLI build tool.\n\n## Install\n`npm install build-error-notifier -g`\n\n## Usage\nFor most tools, it's just a matter of piping the output. For some tools, you need to redirect stderr to stdin first, by inserting 2\u003e\u00261 before the pipe.\n\n### [browserify](https://www.npmjs.com/package/browserify) (JavaScript compiler)\nExample:\n\n`browserify scripts/source/main.js -o scripts/bundle.js 2\u003e\u00261 | build-error-notifier`\n\n### [node-sass](https://www.npmjs.com/package/node-sass) (Sass compiler)\nExample:\n\n`node-sass ./styles.scss -o ./styles.css --watch 2\u003e\u00261 | build-error-notifier`\n\n### [tsc](https://www.npmjs.com/package/typescript) (TypeScript compiler)\nExample:\n\n`tsc ./src.ts --out ./out.js --watch | build-error-notifier`\n\n### [tslint](https://www.npmjs.com/package/tslint) (TypeScript linter)\nExample:\n\n`tslint ./src.ts | build-error-notifier`\n\n### [jasmine-node](https://www.npmjs.com/package/jasmine-node) (Test runner)\nExample:\n\n`jasmine-node ./test/ --autotest | build-error-notifier`\n\nNOTE: You can also use the built-in --growl option if you have paid for growl and if you want it to notify you on successful test runs as well. The build-error-notifier will only notify of errors to avoid \"notification fatigue\".\n\n### [karma](https://www.npmjs.com/package/karma) (Test runner)\nExample:\n\n`karma start ./test/karma.conf.js --single-run | build-error-notifier`\n\n## Parameters\nUse `--addConfig [path to file]` to add custom configuration. The file should be a node module and should export a data structure similar to the one defined in [build-error-notifier.js](https://github.com/DevanB/build-error-notifier/blob/master/bin/build-error-notifier.js). See [this file](https://github.com/DevanB/build-error-notifier/blob/master/spec/testConfig.js) for an example.\n\n## Q\u0026A\n### Why don't you support tool X?\nThis is just a starting point and is based upon the tools which I frequently use. On the top of my head, I plan to add support for CoffeeScript, ESLint, Less CSS, JSHint, Mocha, and whichever testing frameworks that have gained traction.\n\nOh, and I accept pull requests. The code is really simple, RegEx based stuff.\n\n### Which operating systems will this work on?\nmacOS for sure. Linux, probably, although I have yet to test it. Windows, maybe to some extent. It won't recognize the backslach file path delimiters as of now, but it would be an easy fix if someone wants it.\n\n### Don't I need to tell it which build tool to scan for?\nIn the current version, no. It will scan for everything. It's simple and I don't think there'll be any real performance impact from this.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevanb%2Fbuild-error-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevanb%2Fbuild-error-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevanb%2Fbuild-error-notifier/lists"}