4.0.2 • Published 7 years ago

@talmobi/rollup-watch v4.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

rollup-watch

This module is used by the Rollup command line interface to enable automatic incremental rebuilds.

Install it to your project like so...

npm install --save-dev rollup-watch

...then invoke it by adding the --watch flag (or -w) to the command that starts Rollup. In this example, npm run dev will create your bundle then recreate it whenever its sources change:

// package.json
{
  // ...
  "scripts": {
    "build": "rollup -c",
    "dev": "rollup -c -w"
  }
}