{"id":13508672,"url":"https://github.com/wkhere/reprise","last_synced_at":"2025-12-11T23:49:17.926Z","repository":{"id":18497602,"uuid":"21693623","full_name":"wkhere/reprise","owner":"wkhere","description":"Simplified module reloader for Elixir","archived":false,"fork":false,"pushed_at":"2023-09-08T16:16:29.000Z","size":65,"stargazers_count":43,"open_issues_count":4,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T00:32:46.144Z","etag":null,"topics":["elixir","scans"],"latest_commit_sha":null,"homepage":"hex.pm/packages/reprise","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wkhere.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2014-07-10T12:37:49.000Z","updated_at":"2024-05-17T01:10:31.000Z","dependencies_parsed_at":"2022-07-30T13:39:33.089Z","dependency_job_id":"b24af411-9bcb-4b64-b70c-ef9e0bc3d041","html_url":"https://github.com/wkhere/reprise","commit_stats":null,"previous_names":["herenowcoder/reprise"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkhere%2Freprise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkhere%2Freprise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkhere%2Freprise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkhere%2Freprise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wkhere","download_url":"https://codeload.github.com/wkhere/reprise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248674659,"owners_count":21143760,"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":["elixir","scans"],"created_at":"2024-08-01T02:00:56.773Z","updated_at":"2025-12-11T23:49:17.893Z","avatar_url":"https://github.com/wkhere.png","language":"Elixir","funding_links":[],"categories":["Miscellaneous"],"sub_categories":[],"readme":"# Reprise\n[![Build Status](https://travis-ci.org/wkhere/reprise.svg?branch=master)](https://travis-ci.org/wkhere/reprise)\n[![hex.pm version](https://img.shields.io/hexpm/v/reprise.svg)](https://hex.pm/packages/reprise)\n[![hex.pm downloads](https://img.shields.io/hexpm/dt/reprise.svg)](https://hex.pm/packages/reprise)\n[![hex.pm downloads/week](https://img.shields.io/hexpm/dw/reprise.svg)](https://hex.pm/packages/reprise)\n[![hex.pm license](https://img.shields.io/hexpm/l/reprise.svg)](https://github.com/wkhere/reprise/raw/master/LICENSE)\n\nA simplified module reloader for Elixir.\n\nIt differs from its predecessors ([exreloader][1], mochiweb reloader)\nin a way that it scans only beam files of the current mix project\nand the current env.\n\n[1]: http://github.com/yrashk/exreloader\n\n### Usage\n\nReprise is best used on dev environment, that's usually where\nyou need reloading of modules. Here goes an example on how\nto do this:\n\n- add to deps: \n  `{:reprise, \"~\u003e 0.5\", only: :dev}`\n\n- add to apps:\n    ```Elixir\n    def application do\n      dev_apps = Mix.env == :dev \u0026\u0026 [:reprise] || []\n      [ applications: dev_apps ++ your_apps ]\n    end\n    ```\n\nThen your modules will be reinjected into your node - iex session\nfor instance - with a nice log report, each time you recompile them.\nHere's an example how it looks like:\n```\niex\u003e 12:14:59.163 [info] Reloaded modules: [Rockside.HTML.DSL, Rockside]\n```\n\nThe default interval between scans for changed modules is 1 second.\nYou can check it and set a new one - the unit is milliseconds:\n```Elixir\niex(1)\u003e Reprise.Server.interval\n1000\niex(2)\u003e Reprise.Server.interval(2000)\n{:ok, [prev: 1000]}\n```\n\n### License\n\nThe code is released under the BSD 2-Clause [License](https://raw.githubusercontent.com/herenowcoder/reprise/master/LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkhere%2Freprise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwkhere%2Freprise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkhere%2Freprise/lists"}