Meantion install caches and consolidates protocols

Closes #462.
This commit is contained in:
José Valim 2021-07-24 17:51:20 +02:00 committed by GitHub
parent d20d4f6bf1
commit ed8fac44ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,9 +84,13 @@ Mix.install([
```
It is a good idea to specify versions of the installed packages,
so that the notebook is easily reproducible later on.
so that the notebook is easily reproducible later on. The install
command goes beyond simply installing dependencies, it also caches
them, consolidates protocols, and more. Check
[its documentation](https://hexdocs.pm/mix/Mix.html#install/2)
to learn more.
Also keep in mind that `Mix.install/2` can be called only once
Finally, keep in mind that `Mix.install/2` can be called only once
per runtime, so if you need to modify the dependencies, you should
go to the notebook runtime configuration and **reconnect** the current
runtime. Let's learn how to do that.