Skip to content

Commit 3d53766

Browse files
committed
Add more support for external markdown.
The 'grunt watch' command now also watches for changes to external markdown. The 'grunt package' command now packages all external markdown files for rapid deployment in static enviroments.
1 parent 34b82ba commit 3d53766

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Gruntfile.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ module.exports = function(grunt) {
107107
'js/**',
108108
'lib/**',
109109
'images/**',
110-
'plugin/**'
110+
'plugin/**',
111+
'**.md'
111112
]
112113
},
113114

@@ -129,7 +130,10 @@ module.exports = function(grunt) {
129130
},
130131
html: {
131132
files: [ 'index.html']
132-
}
133+
},
134+
markdown: {
135+
files: [ './*.md' ]
136+
}
133137
}
134138

135139
});

0 commit comments

Comments
 (0)