New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

wtch

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wtch - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "wtch",
"version": "1.1.0",
"version": "1.1.1",
"description": "small livereload/watch command line utility",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -14,14 +14,10 @@ # wtch

Particularly useful alongside tools like [wzrd](https://github.com/maxogden/wzrd).
You can use [garnish](https://github.com/mattdesl/garnish) for pretty-printing logs.
```js
wzrd index.js | wtch
wtch --verbose | garnish
```
With options, and using [garnish](https://github.com/mattdesl/garnish) for pretty-printing.
See [examples](#examples) for use with browserify and other tools.
```js
wzrd test/index.js | wtch --dir test -e js,css,es6 | garnish
```
PRs/suggestions welcome.

@@ -60,4 +56,18 @@

## Examples
This can be used for live-reloading alongside [wzrd](https://github.com/maxogden/wzrd), [beefy](https://github.com/maxogden/beefy) and similar bundlers. For example:
```sh
wzrd test/index.js | wtch --dir test -e js,css,es6 | garnish
```
Or, even for a simple site with no JS content. The following example uses [http-server](https://www.npmjs.com/package/http-server) and listens for HTML/CSS changes in the current directory.
```sh
http-server -o -p 8000 | wtch --verbose | garnish
```
## License
MIT, see [LICENSE.md](http://github.com/mattdesl/wtch/blob/master/LICENSE.md) for details.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc