dbashford / mimosa-require

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

If inferConfig is false we can get a circular reference error on the deb... #13

Closed cwest closed 11 years ago

cwest commented 11 years ago

...ug line. Avoid it.

My mimosa config set inferConfig: false and "mimosa watch --optimize" would throw "TypeError: Converting circular structure to JSON"

Fixed using the suggestion from: http://stackoverflow.com/questions/11616630/json-stringify-avoid-typeerror-converting-circular-structure-to-json

dbashford commented 11 years ago

I'll go ahead and make that small change and then get a new version out. Thanks for pointing this out!

dbashford commented 11 years ago

Had what I think was a coffeescript syntax issue in there, moved a few things around, just release mimosa 0.14.13 which includes an updated mimosa-require. Thanks!