Reload all Chrome tabs
OS X systems only
$ npm install --global reload-tabs
$ reload-tabs --help
Usage
$ reload-tabs
Options
--no-chrome Don't reload tabs in Chrome
--no-chromium Don't reload tabs in Chromium
$ npm install --save reload-tabs
const reloadTabs = require('reload-tabs');
reloadTabs().then(() => {
console.log('Reloaded tabs');
});
Returns a promise.
Type: boolean
Default: true
Decide whether Chrome tabs should be reloaded.
Type: boolean
Default: true
Decide whether Chromium tabs should be reloaded.
Perfect match with kill-tabs module.
MIT © Andreas Gillström