Modules and maintenance
- Update to modules - Added ESLint configuration - Tried to fix SASS but still no automatic reload - Gulp not working anymore
This commit is contained in:
parent
6b217b6ebb
commit
534115ff28
7 changed files with 749 additions and 1033 deletions
|
|
@ -20,6 +20,6 @@ const config = {
|
|||
titlePrefix: ' - HIPPIE',
|
||||
pageBase: './'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
|
@ -1,9 +1,10 @@
|
|||
const config = require('../config');
|
||||
const browserSync = require('browser-sync'), server = browserSync.create();
|
||||
// const browserSync = require('browser-sync'), server = browserSync.create();
|
||||
const server = require('browser-sync').create();
|
||||
|
||||
// Automagically reload browsers
|
||||
function reload(done) {
|
||||
server.reload();
|
||||
server.reload;
|
||||
|
||||
done();
|
||||
}
|
||||
|
|
@ -21,5 +22,5 @@ function serve(done) {
|
|||
|
||||
module.exports = {
|
||||
serve: serve,
|
||||
reload: reload,
|
||||
reload: reload
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue