mix live_load.install (LiveLoad v0.0.1-rc.32)

Copy Markdown View Source

Downloads and installs the necessary Playwright driver and browser binaries for LiveLoad.

Playwright's installations are per platform and architecture, so for LiveLoad to properly run on a production environment, the mix live_load.install command should run on the final environment in order to download the correct binaries (for example, during your build process). The installation files will be installed into the priv directory for the live_load application and will be packaged during the build to be available in the running application.

This must be run with the version of Playwright that is going to be used. The default version is 1.59.1.

Examples

$ mix live_load.install
$ mix live_load.install 1.59.1