Conversation
There was a problem hiding this comment.
The broccoli-filter-dependency is missing here.
|
Left some comments on styling and a missing dependency, but the actual implementation looks very nice. Thanks again 👍 |
|
I updated with the changes you specified, and I just added the ability to specify a custom formatter. The machine I am on right now does not have a good testing project setup, so the custom formatting support is untested right now. I can test it in about 2 hours, let me know if you beat me to the punch. |
|
Tested. Working. 👍 |
|
Unfortunately, I think something is up with the broccoli-plugin setup here. When you run Second, we'll need to rename the broccoli-plugin to something other than |
|
It runs the filter on the app and test trees, I am not sure if there is a tree we can run it on that contains both. CoffeeScriptFilter changed to CoffeeScriptLinter. |
…l into error message.
|
Ah, right. Of course it does. I'd like to make it clearer that that's happening. Also, the linting is taking longer than the CoffeeScript compilation right now - I wonder if something can be done about that. It seems like |
|
I don't know if there are any other methods to watch for individual file changes without using broccoli-filter like this. I am not sure if there is a good way to determine if we are running on the testing or app folders. We might be able to inspect the path of the first file we get sent and see if it matches a pattern. The problem there is the path does not mean anything because the tree can be built dynamically. |
|
I thought I remembered a way to check it, but I was actually thinking of There might be something to learn from the |
|
|
|
I think this is worth merging in either way though. I'll look over it one more time tomorrow, and then merge if I don't see any showstoppers. Thanks again! 👍 |
Please let me know if there are any styling updates, or other such changes. I originally intended on using the broccoli-coffeelint library but it was triggering a bunch of errors so I used that as reference and rolled my own.