{"id":13447099,"url":"https://github.com/xpl/crx-hotreload","last_synced_at":"2025-05-15T00:10:33.858Z","repository":{"id":37742849,"uuid":"73014909","full_name":"xpl/crx-hotreload","owner":"xpl","description":"Chrome Extension Hot Reloader","archived":false,"fork":false,"pushed_at":"2024-03-30T19:14:58.000Z","size":36,"stargazers_count":860,"open_issues_count":12,"forks_count":127,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-12-17T22:41:00.542Z","etag":null,"topics":["chrome","chrome-extension","hot-reload","hot-reloading"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xpl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-06T19:51:31.000Z","updated_at":"2024-11-25T03:43:34.000Z","dependencies_parsed_at":"2024-06-18T13:56:50.637Z","dependency_job_id":"aaf5002d-3768-4a9d-a4f7-c2c71f192da1","html_url":"https://github.com/xpl/crx-hotreload","commit_stats":{"total_commits":52,"total_committers":6,"mean_commits":8.666666666666666,"dds":"0.23076923076923073","last_synced_commit":"a6a2713c4ee062611493a35f9fc5e8a9264a63c3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpl%2Fcrx-hotreload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpl%2Fcrx-hotreload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpl%2Fcrx-hotreload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpl%2Fcrx-hotreload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xpl","download_url":"https://codeload.github.com/xpl/crx-hotreload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248781289,"owners_count":21160706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome","chrome-extension","hot-reload","hot-reloading"],"created_at":"2024-07-31T05:01:08.167Z","updated_at":"2025-04-13T20:39:11.846Z","avatar_url":"https://github.com/xpl.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Chrome Extension Hot Reloader\n\n\u003e [!IMPORTANT]  \n\u003e Does not work with Manifest Version 3, as Chrome has recently removed the APIs essential for working with file system from background scripts: https://stackoverflow.com/questions/65975659/how-do-i-get-access-to-all-the-files-in-the-extension-in-chrome-extension-manife/65976345 :(\n\nWatches for file changes in your extension's directory. When a change is detected, it reloads the extension and refreshes the active tab (to re-trigger the updated scripts).\n\nHere's [a blog post explaining it](https://60devs.com/hot-reloading-for-chrome-extensions.html) (thanks to [KingOfNothing](https://habrahabr.ru/users/KingOfNothing/) for the translation).\n\n## Features\n\n- Works by checking timestamps of files\n- Supports nested directories\n- Automatically disables itself in production\n- And it's under a \u003ca href=\"https://github.com/xpl/crx-hotreload/blob/master/hot-reload.js\"\u003e40 lines of code\u003c/a\u003e!\n\n## How To Use\n\n1. Drop [`hot-reload.js`](https://github.com/xpl/crx-hotreload/blob/master/hot-reload.js) to your extension's directory.\n\n2. Put the following into your `manifest.json` file:\n\n```json\n    \"background\": { \"scripts\": [\"hot-reload.js\"] }\n```\n\nAlso, you can simply clone this repository and use it as a boilerplate for your extension.\n\n## Installing From NPM\n\nIt is also available as NPM module:\n\n```\nnpm install crx-hotreload\n```\n\nThen use a `require` (or `import`) to execute the script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpl%2Fcrx-hotreload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxpl%2Fcrx-hotreload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpl%2Fcrx-hotreload/lists"}