dbashford / mimosa-require

AMD/RequireJS module for Mimosa browser development workflow tool
3 stars 3 forks source link

Circular Dependency Causes Infinite Loop when Building #33

Open kbaltrinic opened 10 years ago

kbaltrinic commented 10 years ago

I have a circular dependency in my require.js modules. There were a total of five dependency in the circuit. This causes an infinite loop in tasks/register._addDepsToTree. The effect was that mimosa would hang during watch or build. I think I can provide example code if you need it to reproduce the problem.

dbashford commented 10 years ago

A sample project would be nice. Given the loop is so long, might be hard to solve straight away.