Removed live reload in favor of stable builds
This commit is contained in:
parent
b8290e5103
commit
47483dd0af
2 changed files with 1 additions and 16 deletions
13
index.js
13
index.js
|
@ -4,8 +4,6 @@ var sass = require('metalsmith-sass');
|
|||
var layouts = require('metalsmith-layouts');
|
||||
var collections = require('metalsmith-collections');
|
||||
var permalinks = require('metalsmith-permalinks');
|
||||
var serve = require('metalsmith-serve');
|
||||
var watch = require('metalsmith-watch');
|
||||
|
||||
Metalsmith(__dirname)
|
||||
.metadata({
|
||||
|
@ -30,17 +28,6 @@ Metalsmith(__dirname)
|
|||
engine: 'handlebars',
|
||||
partials: 'partials'
|
||||
}))
|
||||
.use(
|
||||
watch({
|
||||
paths: {
|
||||
"src/**/*": "**/*",
|
||||
"partials/**/*": "**/*",
|
||||
"layouts/**/*": "**/*"
|
||||
},
|
||||
livereload: true,
|
||||
})
|
||||
)
|
||||
.use(serve())
|
||||
.build(function(err, files) {
|
||||
if (err) { throw err; }
|
||||
});
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"metalsmith-collections": "^0.7.0",
|
||||
"metalsmith-sass": "^1.3.0",
|
||||
"metalsmith-serve": "0.0.7",
|
||||
"metalsmith-watch": "^1.0.3"
|
||||
"metalsmith-sass": "^1.3.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue