Skip to content

Instantly share code, notes, and snippets.

View decioferreira's full-sized avatar

Décio Ferreira decioferreira

View GitHub Profile
@decioferreira
decioferreira / hotcode.ex
Created June 28, 2017 21:46 — forked from mgwidmann/hotcode.ex
Hot code swapping
# To show hot code uploading, we first need to build a simple phoenix project so we can see it happen in real time.
# Start by making a new phoenix project
$ mix phoenix.new hotcode
# Go into the directory
$ cd hotcode
# Add exrm dependency to mix.exs file
{:exrm, "~> 1.0.3"}