lib/Watcher.js
Function subscribe
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
subscribe({
client,
fbWatch,
relativePath,
}: {
Function poll
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
poll(): Promise<void> {
return new Promise((resolve: Function, reject: Function) => {
findAllFiles(this.workingDirectory, this.excludes)
.then((files: Array<Object>) => {
const mtimes = {};