parcel-plugin-watch-reload-fc

0.0.2Β β€’Β PublicΒ β€’Β Published

parcel-plugin-watch-reload Build Status

πŸ“¦πŸ”ŒπŸ—‚πŸ‘€ A Parcel plugin that watches files not included in your bundles (e.g. **/*.php) and reloads your browser if they change. Also, has emojis in readme πŸ‘Ύ

Installation

$ npm install parcel-plugin-watch-reload -D

...or

$ yarn add parcel-plugin-watch-reload -D

Setup

Specify which file types should trigger a browser reload in your package.json:

{
  "watchreload": {
    "files": "**/*.php"
  }
}

Arrays of globs are also supported:

{
  "watchreload": {
    "files": ["**/*.php", "**/*.svg"]
  }
}

That's it! If you start parcel in watch mode, each change to a file matching your rules will trigger a browser reload. ✨

Readme

Keywords

none

Package Sidebar

Install

npm i parcel-plugin-watch-reload-fc

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

230 kB

Total Files

8

Last publish

Collaborators

  • agrublev