drush eval '\Drupal\node\Entity\Node::load(1)->save();' properly queues invalidations of 'node:1' and 'node_list'.
However, running the same code in drush php (REPL shell) queue nothing :

$ drush php
Psy Shell v0.7.2 (PHP 7.0.6 — cli) by Justin Hileman
>>> \Drupal\node\Entity\Node::load(1)->save();
=> 2
>>> quit
$ drush p-queue-browse
$

Comments

yched created an issue. See original summary.

Wim Leers’s picture

It's yched!!!!!!!!

yched’s picture

;-) ♥

moshe weitzman’s picture

I can't think of any reason why the REPL would be different. Maybe some environment variables are different. Needs research.

japerry’s picture

Status: Active » Closed (outdated)