Skip to content

[Feature]: support dev.watchFiles #1902

Description

@9aoy

What problem does this feature solve?

support configure a list of globs/directories/files to watch for file changes, and these file changes will trigger a page reload.

export default {
  dev: {
    watchFiles: : ['src/**/*.php', 'public/**/*'],
  },
};

What does the proposed API look like?

like webpack#devServer.watchFiles

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions