Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Enable Live Reload in Magento 2 when in default or in development mode

Notifications You must be signed in to change notification settings

controlaltdelete-nl/magento2-live-reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Control Alt Delete.nl Build Status

This package can be used to enable Live Reload via the script tag in Magento 2. It will check if you are in production mode or not. If you are not, there will be no output.

Installation

Install using Composer:

composer require controlaltdelete/magento2-live-reload

Run:

php bin/magento module:enable ControlAltDelete_LiveReload

or:

php bin/magento setup:upgrade

Usage

Make sure you are in default or development mode. You can check the current mode of your webshop by running:

php bin/magento deploy:mode:show

If you need to change the mode you can do this by running:

php bin/magento deploy:mode:set production

This can take some time. Make sure you are running production mode in ... production. Run developer mode only on you local/development environment.

Dependencies

This package has no dependencies, other than magento/framework. Which is required by Magento by default. For the development we require phpstan/phpstan and magento/marketplace-eqp for code quality.

About

Enable Live Reload in Magento 2 when in default or in development mode

Resources

Stars

Watchers

Forks

Packages

No packages published