Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 300 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 300 Bytes

gnodemon

nodemon with glob watch

Usage

On command line: note that globs must be quoted

gnodemon src/server/index.js -w 'src/**/server/*.js'

As module

const gnodemon = require('gnodemon')

gnodemon({
  script: 'index.js',
  watch: [
    'src/**/server/*.js'
  ]
})