mirror of
https://github.com/kremalicious/blog.git
synced 2024-06-30 21:52:05 +02:00
handle .htaccess copying/watching correctly
This commit is contained in:
parent
964c82dd37
commit
2b6806f492
|
@ -31,6 +31,7 @@ module.exports = function(grunt){
|
|||
clean: {
|
||||
build: [
|
||||
'<%= config.site %>/*',
|
||||
'<%= config.site %>/.htaccess',
|
||||
'!<%= config.site %>/media'
|
||||
]
|
||||
},
|
||||
|
@ -50,7 +51,7 @@ module.exports = function(grunt){
|
|||
options: {
|
||||
drafts: true,
|
||||
future: true,
|
||||
//limit_posts: 50
|
||||
limit_posts: 50
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -168,6 +169,7 @@ module.exports = function(grunt){
|
|||
'<%= config.src %>/**/*.html',
|
||||
'<%= config.src %>/*.xml',
|
||||
'<%= config.src %>/*.json',
|
||||
'<%= config.src %>/.htaccess',
|
||||
'<%= config.src %>/_includes/**',
|
||||
'<%= config.src %>/_layouts/**',
|
||||
'<%= config.src %>/_posts/**',
|
||||
|
|
Loading…
Reference in New Issue
Block a user