start-watch
Watch task for Start.
Install
npm install --save-dev start-watch# or yarn add --dev start-watch
Usage
;;;;;;;;;; cosnt start = ; const dev = ;
See documentation for details.
👉 Note that this task may not work properly with tasks like start-webpack and start-karma which have their own file watching functionality.
Arguments
watch(files, events, options)(callback)
files
– Chokidar "file, dir, glob, or array"events
– Chokidar events array,[ 'change', 'add' ]
by defaultoptions
– Chokidar options,{ persistent: true }
by defaultcallback(changedFiles)
– callback function which will be called with an array of matched and changed files