Эх сурвалжийг харах

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.
Will Sloan 9 жил өмнө
parent
commit
3d53766e51
1 өөрчлөгдсөн 6 нэмэгдсэн , 2 устгасан
  1. 6 2
      Gruntfile.js

+ 6 - 2
Gruntfile.js

@@ -107,7 +107,8 @@ module.exports = function(grunt) {
 				'js/**',
 				'lib/**',
 				'images/**',
-				'plugin/**'
+				'plugin/**',
+        '**.md'
 			]
 		},
 
@@ -129,7 +130,10 @@ module.exports = function(grunt) {
 			},
 			html: {
 				files: [ 'index.html']
-			}
+			},
+      markdown: {
+        files: [ './*.md' ]
+      }
 		}
 
 	});