Eleventy: Should setWatchJavaScriptDependencies(true) traversing through node_modules ?

Created on 11 Jan 2019  路  2Comments  路  Source: 11ty/eleventy

It almost takes a half of minutes to get the BrowserSync fired
I don't know if it's normal or not.

DEBUG=* eleventy --serve

Also, my environment is

  • Eleventy 0.7.0
  • Node v11.6.0
  • Archlinux
bug high-priority

All 2 comments

Hmm, this is way costlier than I鈥檇 like but I think it鈥檚 a mistake on my end. I鈥檓 filtering the dependencies at the end and not using dependency-tree鈥檚 internal filter feature, which seems to be much faster. Sorry about that!

This will ship with 0.7.1. Also added a benchmark warning on it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DirtyF picture DirtyF  路  3Comments

zachleat picture zachleat  路  3Comments

zellwk picture zellwk  路  3Comments

kaloja picture kaloja  路  3Comments

jamrelian picture jamrelian  路  3Comments