ember-code-snippet
ember-code-snippet copied to clipboard
Snippets not being populated by annotated files in app folder
I have a file call app/templates/snippets/buttons.hbs with the content of
{{!-- BEGIN-SNIPPET buttons --}}
{{#x-button}}
Test
{{/x-button}}
{{!-- END-SNIPPET --}}
If I put console.log(path.join(destDir, name) + path.extname(filename) + ":"+ snippets[name]); at snippet-finder.js:63 I can see
/Users/cploeg/Web/bootstrap/web-designguide/tmp/snippet_finder-tmp_dest_dir-ojHOLcLw.tmp/buttons.hbs:{{#x-button}}
Test
{{/x-button}}
But when I run the app I can see that snippet.js is empty
define("web-designguide/snippets", ["exports"], function (exports) {
exports["default"] = {};
});
Running Ember 2.8 on OSX El Cap with Node 5.11.1