Skip to content

Commit

Permalink
feat: allow livereload on module edit screens
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Jan 28, 2023
1 parent cec2cbd commit 7bfd6c1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions RockMigrations.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static function getModuleInfo()
{
return [
'title' => 'RockMigrations',
'version' => '2.12.0',
'version' => '2.13.0',
'summary' => 'The Ultimate Automation and Deployment-Tool for ProcessWire',
'autoload' => 2,
'singular' => true,
Expand Down Expand Up @@ -601,11 +601,6 @@ protected function addLivereload()
{
if (!$this->wire->modules->isInstalled('RockFrontend')) return;
if (!$this->wire->config->livereload) return;
$process = $this->wire->page->process;

// on some pages in the backend live reloading can cause problems
// or is just not helpful so we exclude it
if ($process == "ProcessModule") return;

$url = $this->wire->config->urls('RockFrontend');
$path = $this->wire->config->paths('RockFrontend');
Expand Down

0 comments on commit 7bfd6c1

Please sign in to comment.