Skip to content

Add cache option to avoid processing unchanged files #5853

@mbrookes

Description

@mbrookes

Environments:

  • Prettier Version: 1.16.4
  • Running Prettier via: CLI (package.json script)
  • Runtime: Node.js 8.11.3
  • Operating System: MacOS 10.13.6

Steps to reproduce:

N/A

Expected behavior:
That when provided with an option such as --cache, prettier only process new or changed files. See eslint for example.

Actual behavior:
Prettier processes all files, whether they have changed or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cliIssues with Prettier's Command Line Interface

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions