Skip to content

utils/dev ​

Overview ​

Development-only utilities that are no-ops in production builds.

Methods ​

  • reportDevError - Report a mistake that a developer must fix.
  • watchIfDev - Call watch only when running in development mode; returns a no-op stop handle in production.

Source ​

client/lib/utils/dev.js:1