{"id":13507491,"url":"https://github.com/vans163/rebar3_auto","last_synced_at":"2025-12-11T23:50:13.167Z","repository":{"id":23676006,"uuid":"27047367","full_name":"vans163/rebar3_auto","owner":"vans163","description":"Rebar3 plugin to auto compile and reload on file change.","archived":false,"fork":false,"pushed_at":"2024-11-26T14:42:23.000Z","size":40,"stargazers_count":55,"open_issues_count":6,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-21T23:34:35.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/vans163.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":"2014-11-23T20:58:22.000Z","updated_at":"2024-11-26T14:37:36.000Z","dependencies_parsed_at":"2024-05-01T16:19:31.436Z","dependency_job_id":"f11ab24c-e05d-40f0-b5a6-aecdc65b9cda","html_url":"https://github.com/vans163/rebar3_auto","commit_stats":null,"previous_names":["tsloughter/rebar3_auto"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vans163%2Frebar3_auto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vans163%2Frebar3_auto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vans163%2Frebar3_auto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vans163%2Frebar3_auto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vans163","download_url":"https://codeload.github.com/vans163/rebar3_auto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301963,"owners_count":20755512,"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-08-01T02:00:35.055Z","updated_at":"2025-10-21T14:41:12.094Z","avatar_url":"https://github.com/vans163.png","language":"Erlang","funding_links":[],"categories":["Build Tools"],"sub_categories":[],"readme":"rebar_auto_plugin\n=====\n\nA rebar3 plugin for auto running compile on source file change reloading modules in the shell.\n\nPrerequisite\n-----\nOn Linux you need to install inotify-tools.\n\n```\n-m: 1: inotifywait: not found\n```\n\nUse\n---\n\nAdd the plugin only to your user local rebar config in `~/.config/rebar3/rebar.config`:\n\n```erlang\n{plugins, [rebar3_auto]}.\n```\n\nIf you add it to your project rebar.config, it will get unloaded each time compilation occurs, thus breaking it.\n\nThen run\n```\n    $ rebar3 compile\n```\n\nThen just call your plugin directly in an existing application:\n\n\n```\n(relx) $ rebar3 auto\n===\u003e Compiling rebar3_auto\nSetting up watches.  Beware: since -r was given, this may take a while!\nWatches established.\nErlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false]\n\nEshell V7.1  (abort with ^G)\n1\u003e ===\u003e This feature is experimental and may be modified or removed at any time.\nCompiling rebar3_auto\nVerifying dependencies...\nCompiling relx\nCompiling rebar3_auto\nVerifying dependencies...\nCompiling relx\n\n1\u003e\n```\n\nCustom extensions, thanks abxy.  \nRegex matches are supported, \"$\" is suffixed automatically, thanks xuchaoqian.  \n```\nre:run(\u003c\u003c\"file_name.erl_ab\"\u003e\u003e, \u003c\u003cExtMatch/binary, \"$\"\u003e\u003e)\n```\n\n\nTo extend the list add an option to your rebar.config like so:\n```\n{auto, [\n\t{extra_extensions, [\".alp\", \".hterl\", \".erl(.*?)\"]}\n]}.\n```\n\nExtra directories.\nTo extend the list of directories to be watched add an option to your rebar.config like so:\n```\n{auto, [\n\t{extra_dirs, [\"priv/dtl\"]}\n]}.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvans163%2Frebar3_auto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvans163%2Frebar3_auto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvans163%2Frebar3_auto/lists"}