Skip to content

Commit f744c3a

Browse files
committed
Remove test watch task
1 parent 39f54ca commit f744c3a

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

Taskfile

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
require 'vendor/autoload.php';
44

55
use Task\Plugin\PhpSpecPlugin;
6-
use Task\Plugin\WatchPlugin;
76

87
$project = new Task\Project('task/filesystem');
98

109
$project->inject(function ($container) {
1110
$container['phpspec'] = new PhpSpecPlugin;
12-
$container['watch'] = new WatchPlugin;
1311
});
1412

1513
$project->addTask('test', ['phpspec', function ($phpspec) {
@@ -19,14 +17,4 @@ $project->addTask('test', ['phpspec', function ($phpspec) {
1917
->pipe($this->getOutput());
2018
}]);
2119

22-
$project->addTask('test.watch', ['watch', 'phpspec', function ($watch, $phpspec) use ($project) {
23-
$output = $this->getOutput();
24-
25-
$watch->init('spec/')
26-
->addListener('modify', function () use ($project, $output) {
27-
$project->runTask('test', $output);
28-
})
29-
->start();
30-
}]);
31-
3220
return $project;

0 commit comments

Comments
 (0)