chrome-extensions-reloader v1.1.1
chrome-extensions-reloader
So, you're developping a chrome extension ? I bet you're doing with this pattern about 3.141e+42 a day:
- Make a change in your code
- Go to chrome://extensions
- Find your unpacked extension
- Click Reload
- Go to your extension and inspect your change, debug stuff ect
- Repeat
So, what if you could do this:
- Make a change in your code
- Go to your extension and inspect your change, debug stuff ect
- Repeat

How I install this awesome stuff ?
First, you should know that i've only tested using OSX but it should also work on Linux. However i'm not brave enought to test on Windows.
Requirements
- Install - chrome-cli- This is script use the awesome - chrome-clitool, since this CLI tool is a binary and platform dependant, you should install it before using this script.
- Install - chrome-extensions-reloader, you may need- sudo- npm install -g chrome-extensions-reloader
- Open a tab in chrome to chrome://extensions-frame (yes, - extensions-frame, not- extensions)
Usage:
As a watcher:
chrome-extensions-reloader can watch a folder and reload the extension each time a change happen in this folder.
Go to your project root directoy:
$ cd my-awesome-chrome-extensions
$ chrome-extensions-reloader
>> SUCCESS	 Reloaded extensions (in tab 818)
>> SUCCESS	 Reloaded extensions (in tab 818)
[...]As a sublime-text build system
You may find that watching a folder is very slow and that's true, blame fs.watch. That's why with a little of Sublime Text magic you can reload the extension just by pressing ctrl+s
- In Sublime Text create a new Build System: Tools > Build System > New Build System...
- Add this to the Build System file (example here) - { "shell_cmd": "chrome-extensions-reloader --single-run" }
- There you go, each time you press - ctrl+bit will reload the extension
You may want to install SublimeOnSaveBuild plugin to run the build script each time you press ctrl+s
FAQ
- What does this thing do under the hood ? - This script simply inject a dumb javascript snippet which trigger a - Click()on every Reload links in the chrome://extensions tab. That's why this tab should be open.
- Does it reload every extensions ? - This script reload every unpackaged extensions 
- Why is this repository name is too long ? - Because letters make words and sometime there is too much letters