{"id":34202092,"url":"https://github.com/patoroco/parcel-hmr-with-python-example","last_synced_at":"2026-04-11T09:01:35.878Z","repository":{"id":50877349,"uuid":"238077389","full_name":"patoroco/parcel-hmr-with-python-example","owner":"patoroco","description":"Testing Hot Module Replacement with Parcel while the HTML is served by another server (python in this case)","archived":false,"fork":false,"pushed_at":"2021-05-28T07:01:40.000Z","size":937,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-20T17:44:05.797Z","etag":null,"topics":["django","example","flask","hmr","hot-module-replacement","js","parcel","python"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patoroco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-03T22:46:12.000Z","updated_at":"2024-04-20T17:44:05.798Z","dependencies_parsed_at":"2022-08-28T05:12:27.830Z","dependency_job_id":null,"html_url":"https://github.com/patoroco/parcel-hmr-with-python-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/patoroco/parcel-hmr-with-python-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patoroco%2Fparcel-hmr-with-python-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patoroco%2Fparcel-hmr-with-python-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patoroco%2Fparcel-hmr-with-python-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patoroco%2Fparcel-hmr-with-python-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patoroco","download_url":"https://codeload.github.com/patoroco/parcel-hmr-with-python-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patoroco%2Fparcel-hmr-with-python-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31674624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["django","example","flask","hmr","hot-module-replacement","js","parcel","python"],"created_at":"2025-12-15T18:51:48.673Z","updated_at":"2026-04-11T09:01:35.872Z","avatar_url":"https://github.com/patoroco.png","language":"HTML","readme":"# Parcel HMR Example\n\nThis is a small example about how to get Hot Module Replacement (HMR) working with Parcel while we're serving the index with another server (`python3 http.server`).\n\nThe purpose is to be able to use Parcel while we're developing with a web framework like Django or Flask, avoiding to lose the HMR feature.\n\n## Install \u0026 Run\n\n```bash\nnpm install\n\n# run the python webserver in a terminal\nnpm run web\n\n# run the watch in another terminal to watch the changes in the `index.html` and `index.js` files\nnpm run watch\n```\n\nAfter that, you'll be able to open http://localhost:8000/ in a browser, and once you add some changes in the `index.html` or `index.js`, the hot reloading should work.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatoroco%2Fparcel-hmr-with-python-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatoroco%2Fparcel-hmr-with-python-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatoroco%2Fparcel-hmr-with-python-example/lists"}