watch command will monitor the local file system for any changes and trigger a
rebuild for affected package(s). The watcher will only monitor files within the
folder of each found package, and will rebuild using default build options.
"watch": "packemon watch"
Chokidar is required for file watching, so please install to your project.
yarn add --dev chokidar
npm install --save-dev chokidar
Watch supports the following command line options.
--debounce- Number of milliseconds to wait after a change before triggering a rebuild. Defaults to
--poll- Poll for file changes instead of using file system events. This is necessary if going across the network or through containers.
privatepackages from being watched.