You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

gow

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gow

Watch your files on the gow.

1.13.1
latest
Source
npm
Version published
Weekly downloads
9
350%
Maintainers
1
Weekly downloads
 
Created
Source

Gow logo

NPM

Usage

Usage: gow [options]

Options:
    -c, --command     The command that should be executed at start and reload
    -f, --files       Glob pattern of files that should trigger a reload
    -s, --silent      Disable console output
    -d, --delay       Minimum delay between the reloads

The options are getting ignored, if a config file exists.

Examples

# Listen to all JavaScript files within the directory
gow -f "***/*.js"


# Listen to all JSON and TypeScript files within the directory and make sure the TypeScript files are getting compiled on reload
gow -f "***/*.ts" -f "***/*.json" -c "tsc && node ."

Config

gow.config.js

// Default config
module.exports = {
    command: "node .",  
    files: ["***/*"],
    silent: false,
    delay: 1000
}

Keywords

File watcher

FAQs

Package last updated on 29 Apr 2020

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