Specify files which trigger a full page reload in development mode.
To reload the page automatically when a particular file or directory is modified, you can use bud.watch.
All paths are relative to the project root directory:
It is generally recommend to set file paths using bud.path:
You can use bud.glob to specify paths using pattern matching syntax:
All options from chokidar are supported. In the future we will likely switch to node's built in file watch API, but most options are cross compatible.
Setting watch options can be accomplished in a couple ways.
You can set options along with the file paths you want to watch by passing a second parameter:
If you only want to set options, you can also choose to just pass the options directly: