broccolijs / broccoli-plugin

Base class for Broccoli plugins
MIT License
25 stars 25 forks source link

side effect free #23

Closed stefanpenner closed 5 years ago

stefanpenner commented 7 years ago

TODO:

vlascik commented 6 years ago

So what happened to this PR, are there any plans to finish it?

rwjblue commented 6 years ago

Yes, we definitely still plan to circle back and land this (and related PRs). The issue that we identified after doing all of this initial work was that there was still too much volatility for this to really make a difference. Specifically, all "link roots" style broccoli-funnel instances (super super common) must be treated as volatile (since we cannot know if something inside the symlinked root changed). The solution to that issue is to be "watcher aware" (so that we can know through the symlink if a given raw source root has changed).

thoov commented 5 years ago

Closing in favor of: https://github.com/broccolijs/broccoli/pull/396