var statusReporter = require("browserify-build-status"); var b = browserify(...) // plugin adds error handlers to the browserify object b.plugin(statusReporter, opts); b = b.bundle() // writeFile sets the "build incomplete" message and waits for // browserify to finish before writing either the finished build // output or an error message. b = b.pipe(statusReporter.writeFile("app.js"));
{ // selector for the element that will be updated with any error message selector: "body" }
Browserify Build Status is developed by Sydney-based full stack developer Tom Clarkson