{"id":13819335,"url":"https://github.com/wandercn/hotbuild","last_synced_at":"2026-01-21T14:31:50.946Z","repository":{"id":43471787,"uuid":"382298669","full_name":"wandercn/hotbuild","owner":"wandercn","description":"a cross platform hot compilation tool for golang","archived":false,"fork":false,"pushed_at":"2024-12-05T08:00:31.000Z","size":3447,"stargazers_count":213,"open_issues_count":0,"forks_count":36,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-05-16T04:36:17.838Z","etag":null,"topics":["bee","build-tool","builder","fsnotify","go","hot-build","hot-compilation-tool","hot-reload","hotbuild","live-reload","tools","viper","watcher"],"latest_commit_sha":null,"homepage":"https://hotbuild.rustpub.com","language":"Go","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/wandercn.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,"zenodo":null}},"created_at":"2021-07-02T09:36:25.000Z","updated_at":"2025-04-14T11:38:45.000Z","dependencies_parsed_at":"2024-01-15T15:47:27.859Z","dependency_job_id":"fe0544ca-5fca-4170-b91f-d56032ae6e16","html_url":"https://github.com/wandercn/hotbuild","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/wandercn/hotbuild","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wandercn%2Fhotbuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wandercn%2Fhotbuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wandercn%2Fhotbuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wandercn%2Fhotbuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wandercn","download_url":"https://codeload.github.com/wandercn/hotbuild/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wandercn%2Fhotbuild/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28634810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bee","build-tool","builder","fsnotify","go","hot-build","hot-compilation-tool","hot-reload","hotbuild","live-reload","tools","viper","watcher"],"created_at":"2024-08-04T08:00:45.354Z","updated_at":"2026-01-21T14:31:50.929Z","avatar_url":"https://github.com/wandercn.png","language":"Go","readme":"# [hotbuild](https://hotbuild.rustpub.com)\n\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/wandercn/hotbuild?color=peru)](https://github.com/wandercn/hotbuild/releases/latest)\n[![Released API docs](https://img.shields.io/badge/go-reference-blue?logo=go\u0026logoColor=white)](github.com/wandercn/hotbuild)\n[![Build](https://img.shields.io/github/actions/workflow/status/wandercn/hotbuild/.github/workflows/go.yml?branch=master)](#)\n[![Go Report Card](https://goreportcard.com/badge/github.com/wandercn/hotbuild?color=pink)](https://goreportcard.com/report/github.com/wandercn/hotbuild)\n[![Lines of code](https://img.shields.io/tokei/lines/github/wandercn/hotbuild.svg?color=beige)](#)\n[![Downloads of releases](https://img.shields.io/github/downloads/wandercn/hotbuild/total.svg?color=lavender)](https://github.com/wandercn/hotbuild/releases/latest)\n[![Languages](https://img.shields.io/github/languages/top/wandercn/hotbuild.svg?color=yellow)](#)\n[![GitHub go.mod Go version (subdirectory of monorepo)](https://img.shields.io/github/go-mod/go-version/wandercn/hotbuild)](#)\n\nA cross platform hot compilation tool\n\nBy monitoring the modification of the project directory file, the recompilation and running are automatically triggered. Running directory and monitoring change directory can be different. Monitor the file modification in all recursive subdirectories under the project path.\n\n\u003c!-- ![hotbuild](./logo.jpg =100x100) --\u003e\n \u003cimg src=\"./logo.jpg\" width = \"100\" height = \"100\" alt=\"Hotbuild\" align=center /\u003e\n\n# Install\n\n    go get -u github.com/wandercn/hotbuild@latest \n\n# Initialize\n```\nwander$ cd $your_project_dir/\nwander$ hotbuild initconf\n2021/07/28 11:10:03 create config file: .hotbuild.toml\n```\n\n# Run\n```\nwander$ cd $your_project_dir/\nwander$ hotbuild run\n _   _  ___ _____   ____  _   _ ___ _     ____\n| | | |/ _ \\_   _| | __ )| | | |_ _| |   |  _ \\\n| |_| | | | || |   |  _ \\| | | || || |   | | | |\n|  _  | |_| || |   | |_) | |_| || || |___| |_| |\n|_| |_|\\___/ |_|   |____/ \\___/|___|_____|____/ v1.0.5, built with Go 1.16.5\n\n.............................. ( Start rebuilding ) .................................\n.............................. [ Build successfully ] ...............................\n.............................. { Start running } ....................................\n2021/07/06 09:56:26.913 [I] [asm_amd64.s:1371]  http server Running on http://0.0.0.0:8080\n2021/07/06 09:56:26.913 [I] [asm_amd64.s:1371]  Admin server Running on :8088\n```\n# Custom configuration\n\nAuto create default configuration file  in $your_project_dir/.hotbuild.toml,you can modify the configuration yourself.\n\n```\nwander$ cd $your_project_dir/\nwander$ cat .hotbuild.toml\nbuildcmd = \"go build -o ./tmp_bin\"\nexcludedir = [\".git\", \"tmp\", \"docs\", \"vendor\"]\nprojectdir = \"/Users/apple/workspace/src/example.com/\"\nruncmd = \"./tmp_bin\"\n\n```\n|           | en                           |         zh-cn          |\n|:-----     |:-----                      |:-----            |\n|buildcmd   | Compile command            |编译命令          |\n|excludedir | Exclude tracked folders    |排除跟踪的文件夹  |\n|projectdir | Project directory to track |需要跟踪的项目目录|\n|runcmd     | Run command                |运行命令          |\n\n# FAQ\n1. the \"Too many open files\" error of MacOSX\n   \n  ```\n# maxfiles is 256 too small.\n\nwander$ launchctl limit\n\tcpu         unlimited      unlimited\n\tfilesize    unlimited      unlimited\n\tdata        unlimited      unlimited\n\tstack       8388608        67104768\n\tcore        0              unlimited\n\trss         unlimited      unlimited\n\tmemlock     unlimited      unlimited\n\tmaxproc     2784           4176\n\tmaxfiles    256           10240\n\n# change maxfiles to 4096.\n\nwander$ sudo launchctl limit maxfiles 4096 unlimited\nwander$ launchctl limit\n\tcpu         unlimited      unlimited\n\tfilesize    unlimited      unlimited\n\tdata        unlimited      unlimited\n\tstack       8388608        67104768\n\tcore        0              unlimited\n\trss         unlimited      unlimited\n\tmemlock     unlimited      unlimited\n\tmaxproc     2784           4176\n\tmaxfiles    4096           10240\n\n  ```\nremind:\n\u003e Some terminal modifications cannot take effect immediately and need to be restarted, such as iterm2.\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwandercn%2Fhotbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwandercn%2Fhotbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwandercn%2Fhotbuild/lists"}