Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add watch & reload to help with extension development #89

Merged
merged 5 commits into from
May 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ Setup:

- `git clone` the repo
- Run `npm install` in the project root
- Run `npm run start:chrome` to build the extension in watch mode and start a fresh chrome browser session with the extension loaded. Any changes you make to the code will result in the extension being reloaded. You might need to reload the gmail web page for them to show up, though.

You can also load the extension manually in Chrome using the following steps:

- Run `npm run build` in the project root to build the extension
- Follow the [instructions on the Chrome docs](https://developer.chrome.com/extensions/getstarted#unpacked) to load the unpacked extension using the build subdirectory
- Follow the [instructions on the Chrome docs](https://developer.chrome.com/extensions/getstarted#unpacked) to load the unpacked extension using the `build` subdirectory
- Go to Gmail and open a compose window
- If you make changes to the code, click the Reload link on the `chrome://extensions` page and then reload your Gmail tab to pick up the changes.
- Errors will show up in the console
Expand Down
3 changes: 2 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"name": "Just Not Sorry -- the Gmail Plug-in",
"short_name": "JustNotSorry",
"author": "Steve Brudz, Manish Kakwani, Tami Reiss, and Eric Tillberg of Def Method",
"version": "2.0.0-beta.1",
"version": "2.0.0.1",
"version_name": "2.0.0-beta.1",
"description": "A Gmail Plug-in that warns you when you write emails using words which undermine your message",
"icons": {
"16": "img/JustNotSorry-16.png",
Expand Down
Loading