Automatically mine Ether only when it's needed.
This will start your Ethereum miner when there are transactions pending or waiting for confirmation. This would be super useful when you are using private Ethereum Blockchain to do the development - you don't have to keep mining yourself for the transactions to be effective.
npm install -g eth-mine-when-need
You can either type eth-mine-when-need
or emwn
into the console to start it. If you didn't change the default Ethereum IPC path, it will do the job automatically. If you did, you have to specify it as an argument.
Command Usage
eth-mine-when-need [number of blocks for confirmation] [number of mining threads] [Eth IPC Path]