twittwer / nx-tools

Workspace for Nx Plugins.
40 stars 7 forks source link

Use Compodoc watch json mode #47

Closed manuelmeister closed 2 years ago

manuelmeister commented 3 years ago

https://github.com/twittwer/nx-tools/blob/1c521455fc0eaa64c5230277333b8b9a37ed9681/libs/compodoc/src/builders/compodoc/compodoc-utils.ts#L288-L298 Is this still necessary, now that compodoc supports watch mode with json: compodoc/compodoc#1087?

twittwer commented 3 years ago

@manuelmeister Have you tried compodoc's watch mode for json format?
In my setup I had issues that it ignored some file changes.

twittwer commented 2 years ago

Since version 1.6.0 compodoc's internal watch mechanism is used for individual projects. The issues I described are related to the workspaceDocs mode (see #44), that's why the nodemon wrapper is currently still necessary for the watch mode in workspaceDocs.