500px / gunter

Language agnostic task wrapper and loyal servant.
MIT License
9 stars 1 forks source link

Use fs.readFile or JSON.parse to load JSON #4

Open devonoel opened 9 years ago

devonoel commented 9 years ago

I'm simply using require at a couple places to load JSON tasks/variables. This has the disadvantage of being synchronous, and although its unlikely that a task list will be very big, it's possible. I should instead use either fs.readFile or JSON.parse to load these files asynchronously.