Skip to content
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.

SVG inlining #56

Merged
merged 12 commits into from
Apr 13, 2016
4 changes: 2 additions & 2 deletions grunt/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
templates: {
options: { cwd: "<%= ngtemplates.build.cwd %>" },
files: "<%= ngtemplates.build.src %>",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines here need changed, otherwise saving a template file doesn't do anything. They should reference svg_inline's cwd, and src

tasks: [ "ngtemplates" ]
tasks: [ "svg_inline", "ngtemplates" ]
},
styles: {
files: [
Expand All @@ -30,7 +30,7 @@ module.exports = {
files: "<%= copy.build.src %>",
tasks: [ "newer:copy:build" ]
},
sprite: {
svg: {
options: { cwd: "<%= svg_sprite.use.cwd %>" },
files: "<%= svg_sprite.use.src %>",
tasks: [ "svg_sprite", "svg_inline", "ngtemplates" ]
Expand Down