gypwatcher

0.0.2 • Public • Published

gypwatcher

Automatically run node-gyp when your module's C++ files change

Install

npm install -g gypwatcher

Usage

Run gypwatcher in your project directory to run node-gyp when your project's C++ files change.

API

Gypwatcher will look for a config file ./gypwatcher in your project to load following settings which may be customized. The example below is default.

{
    watchFiles: [
        './**/*.cc',
        './**/*.h',
        './**/*.cpp',
        './**/*.cxx',
        './**/*.c'
    ],
    chokidarOptions: {
        ignoreInitial: false
    },
    nodeGypScript: [
        '/usr/local/bin/node-gyp',
        '/usr/local/lib/node_modules/node-gyp/bin/node-gyp.js'
    ],
    nodeGypOptions: [
        'rebuild'
    ],
    nodeGypPost: './postExec'
};

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    1
  • 0.0.0
    0

Package Sidebar

Install

npm i gypwatcher

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • jacinto