react-middleware-reducer-cli-watcher

1.0.2 • Public • Published

React Redux Watcher Example module created automatically

Watch for changes in react components and add to the redux store automatically

Purpose

This tool can run in your start script where it will look for the creation or deletion of redux files and automatically import them to your store.

The aim is reducer the amount of configuration time needed in development, to get up and runnning quickly and remove architectural consideration when in a creative development flow.

Considerations

Currently the tool by default looks for changes in .middleware.js and .reducer files in ./src

Useage

Install $npm i -g react-middleware-reducer-cli-watcher

Once installed globally you have access to the CLI command $react-watch.

An example command would be $react-watch --src=./src/wherever

A watcher will begin and once you create or delete a middleware or reducer file the tool will update the imports in your store automatically.

Output

Readme

Keywords

none

Package Sidebar

Install

npm i react-middleware-reducer-cli-watcher

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

9.39 kB

Total Files

17

Last publish

Collaborators

  • _moaiii