Skip to content

Add documentation to explain how to ignore certain files in the preprocessor API #1316

Open
@silbinarywolf

Description

@silbinarywolf

Related issue:
cypress-io/cypress#3098

@bkucera said:
Hi @silbinarywolf , you should be able to use the Preprocessor API to modify how cypress watches files and reloads
Does this help?

I replied with:
@bkucera If documentation can be added here alongside watchForFileChanges here that explains how to ignore certain files via the preprocessor API, that'd be good. The issue was more that it wasn't immediately obvious how I can just force Cypress to ignore a certain file from being changed watched / triggering a Webpack build.

I was looking for something to exclude files being watched in the configuration section of the documentation.

EDIT: I edited my copy-pasted reply a bit for clarity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions