Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

watchexec-bin

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watchexec-bin

An installer for watchexec prebuilt binary

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
240
30.43%
Maintainers
1
Weekly downloads
 
Created
Source

watchexec-bin

npm version Build Status Coverage Status

An npm package to install a watchexec prebuilt binary

Installation

Use npm.

npm install watchexec-bin

As this package makes use of install npm script in order to download a binary for the current platform, ignore-scripts npm-config cannot be enabled while executing the command above.

API

require('watchexec-bin')

Type: string

An absolute path to the installed watchexec binary, which can be used with child_process functions.

const {spawn} = require('child_process');
const watchexec = require('watchexec');

spawn(watchexec, ['--', 'ls', '-la']);

CLI

Once this package is installed to the project directory, users can execute watchexec command inside npm scripts of the project.

"watch-js": "watchexec --ext js eslint ."
$ npm run-script watch-js

License

ISC License © 2018 Shinnosuke Watanabe

watchexec

Apache License 2.0 © 2016 Matt Green

Keywords

watchexec

FAQs

Package last updated on 16 Nov 2018

Did you know?

Socket

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.

Install

Related posts