thealjey/webcompiler

View on GitHub
src/watch.js

Summary

Maintainability
A
1 hr
Test Coverage

Function watch has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function watch(dir: string, type: string, callback: WatchCallback) {
  const subscription = Date.now().toString(ALPHANUMERIC_BASE);

  client.capabilityCheck({optional: [], required: ['relative_root']}, capabilityErr => {
    if (capabilityErr) {
Severity: Minor
Found in src/watch.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status