refactor: dev optimizations + improvements

This commit is contained in:
NGPixel
2018-03-17 22:41:16 -04:00
parent 3dc9b92596
commit 392cbe9388
31 changed files with 858 additions and 991 deletions
+4 -1
View File
@@ -84,7 +84,10 @@ const init = {
console.info('>>> Starting Wiki.js in DEVELOPER mode...')
require('./server')
const devWatcher = chokidar.watch('./server')
const devWatcher = chokidar.watch([
'./server',
'!./server/views/master.pug'
])
devWatcher.on('ready', () => {
devWatcher.on('all', () => {
console.warn('--- >>>>>>>>>>>>>>>>>>>>>>>>>>>> ---')