Skip to Content
1
Sep 14, 2023 at 03:16 PM

How can I exclude files/folders from "cds watch"?

220 Views

I'd like to be able to exclude folders/files from cds watch. Either through an argument to the CLI or via a cds config property.

If you use cds-plugin-ui5, any changes you do to the UI files are restarting cds and that is not wanted.

Since @sap/cds is using the nodemon package under the hood, as a workaround, I tried adding a nodemon.json to the project at the same location of the 'srv' folder , but that is not being picked up by nodemon.