Skip to content

Commit

Permalink
[FEATURE] Replace lurker package
Browse files Browse the repository at this point in the history
The watch task requires the package »henrikbjorn/lurker«.
The dependencies of this package dont allow using Symfony 4.
Last release of this package was 2016-03-16. So its abdandoned.

Use the drop-in replacement package totten/lurkerlite instead.
Installing this packsge will remove »henrikbjorn/lurker« automatically.

Since the package is a designated drop-in replacement all existing
methods in robo may stay the same.

Closes consolidation#459 consolidation#956 consolidation#973
  • Loading branch information
pixelbrackets committed Dec 18, 2020
1 parent 6d31d16 commit 4d51f52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
},
"suggest": {
"pear/archive_tar": "Allows tar archives to be created and extracted in taskPack and taskExtract, respectively.",
"henrikbjorn/lurker": "For monitoring filesystem changes in taskWatch",
"totten/lurkerlite": "For monitoring filesystem changes in taskWatch",
"patchwork/jsqueeze": "For minifying JS files in taskMinify",
"natxet/cssmin": "For minifying CSS files in taskMinify"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Task/Base/Watch.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function monitor($paths, \Closure $callable, $events = 2)
public function run()
{
if (!class_exists('Lurker\\ResourceWatcher')) {
return Result::errorMissingPackage($this, 'ResourceWatcher', 'henrikbjorn/lurker');
return Result::errorMissingPackage($this, 'ResourceWatcher', 'totten/lurkerlite');
}

$watcher = new ResourceWatcher();
Expand Down

0 comments on commit 4d51f52

Please sign in to comment.