rejahrehim / gulp-hologram

Generate Hologram style guides with Gulp
MIT License
16 stars 5 forks source link

Feature Request - Add in Error Reporting #6

Open ccpa opened 8 years ago

ccpa commented 8 years ago

I ran across an issue where I accidentally created to hologram components with the same name.

Example (this was duplicated twice in my file)

/*doc

---
title: Summary
name: c-summary-100
category: Components - Summary

---

If I run the ruby gem via bundler I get this message

Warning: Multiple Hologram comments with name: c-summary-100.
Exiting due to warning

If I run hologram via gulp (with the bundler option) I get a silent fail and the style guide simply doesn't regenerate.

The Hologram project references this link as a gulp plugin option which appears to have error handling, but I can't seem to figure it out.

https://gist.github.com/jchild3rs/470be49a4bc4caf3ca8a

Would it be possible do something similar with this project?

finteractive commented 8 years ago

Sorry - I was logged into a client's github account when posting the feature request. I made the above feature request.