Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
gazer-color
Advanced tools
Watch some files, do a thing
A simple wrapper for Shama's gaze module that performs an arbitrary command when files change. Like watchify, but for everything.
$ npm install gazer-color
$ gazer-color --pattern README.md -- echo blorp
# note the -- between the gazer-color arguments like --patern and the command and its arguments
[README.md changes]
> blorp
gaze accepts an array of patterns, so does gazer-color
:
$ gazer-color --pattern '**/*.js' --pattern '!node_modules/**/*' -- echo blorp
[index.js changes]
> blorp
If you haven't read substack's post describing lightweight build steps
with npm run
, I'll
give you a moment to get up to speed.
Here's how you might use gazer-color
to run a build task every time a file
changes:
{
"scripts": {
"test": "mocha",
"watch-test": "gazer-color -p \"public/less/**/*.less\" -- npm run test"
}
}
And then start the watcher:
$ npm run watch-less
FAQs
Watch some files, do a thing - a gazer fork capable of color output
We found that gazer-color demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.