Closed jamesarosen closed 8 years ago
You can't watch the directory that contains 'tmp'. If you do, it will trigger recursive rebuilds as each file in tmp is also triggering a rebuild.
Change '.' to use 'tests' and update your includes to accommodate.
I assumed the include
(which does not include tmp/
) would have prevented that.
I'll try funnel('tests', { destDir: 'tests' })
Include is only restricting what is used, not what is watched.
Success. Thanks :)
When using a
mergeTrees
(v1.1.1) offunnel
s (v1.0.0 or v1.0.1),broccoli serve
runs out of memory and crashes.Simplest
Brocfile.js
:When I run
broccoli build dist
, everything works fine. When I runbroccoli serve
, I getThe warning seems to have some sort of infinite loop in the path, which suggests a reason for the out-of-memory error.
I've tried this on node v0.12.0 and v5.7.1.