{"id":15363301,"url":"https://github.com/topthinking/hmr-middleware","last_synced_at":"2025-04-05T18:44:17.014Z","repository":{"id":138492485,"uuid":"175986177","full_name":"Topthinking/hmr-middleware","owner":"Topthinking","description":null,"archived":false,"fork":false,"pushed_at":"2019-03-16T15:02:45.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-11T16:18:40.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Topthinking.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-03-16T15:00:10.000Z","updated_at":"2019-03-16T15:02:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"924c69a4-cd46-4d7e-a404-4520a744698c","html_url":"https://github.com/Topthinking/hmr-middleware","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"0f6503983b08632c288069756500870c9ad36071"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Topthinking%2Fhmr-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Topthinking%2Fhmr-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Topthinking%2Fhmr-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Topthinking%2Fhmr-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Topthinking","download_url":"https://codeload.github.com/Topthinking/hmr-middleware/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247385576,"owners_count":20930598,"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":[],"created_at":"2024-10-01T13:05:16.665Z","updated_at":"2025-04-05T18:44:16.986Z","avatar_url":"https://github.com/Topthinking.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"- 服务端开发之中间件热更新\n\n- 每次变更文件内容，无需服务重启，刷新页面即可看到更新内容\n\n```shell\n# 启动服务\n$ node server.js\n\n# 打开浏览器\n# 尝试修改middleware文件夹内的js文件中ctx.body的内容\n# 在刷新浏览器，可以看到变化，服务端开发无需重启服务，完成热更新\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopthinking%2Fhmr-middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftopthinking%2Fhmr-middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopthinking%2Fhmr-middleware/lists"}