Skip to content

Commit bc1c9e1

Browse files
Fix watch + update dependencies
1 parent 499cdd5 commit bc1c9e1

3 files changed

Lines changed: 367 additions & 503 deletions

File tree

lib/preprocessor.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ class Preprocessing {
356356

357357

358358
runWatch() {
359-
function add(inPath, prepro) {
359+
const add = (inPath, prepro) => {
360360

361361
const isMD = this._IsMD(path.extname(inPath)) //is markdown
362362

@@ -370,7 +370,7 @@ class Preprocessing {
370370
}
371371
}
372372

373-
function change(inPath, prepro) {
373+
const change = (inPath, prepro) => {
374374

375375
const isMD = this._IsMD(path.extname(inPath)) //is markdown
376376
if (isMD && prepro._collectFile(inPath, true)) //a REF has changed so an include, better copy all
@@ -389,7 +389,7 @@ class Preprocessing {
389389
}
390390
}
391391

392-
function unlink(inPath, prepro) {
392+
const unlink = (inPath, prepro) => {
393393

394394
const isMD = this._IsMD(path.extname(inPath)) //is markdown
395395
let newFilePath = inPath.replace(prepro._path, prepro._destination)

0 commit comments

Comments
 (0)