db-ui / mono

DB UX Design System Monorepo - Provides Design Tokens and components for Web UIs
https://db-ui.github.io/mono/review/main/
Apache License 2.0
27 stars 5 forks source link

local `dev` is constantly going round in circles #2568

Closed mfranzke closed 3 weeks ago

mfranzke commented 3 weeks ago

Which generators are impacted?

Reproduction case

run npm run dev in your local environment (and choose e.g. "react"). You'll recognize the following output that doesn't end:

> @db-ui/foundations@0.0.0 build:01_normalize
> npm run copy-normalize

> @db-ui/foundations@0.0.0 copy-normalize
> cpr ../../node_modules/@csstools/normalize.css/normalize.css scss/_normalize.scss -o

[nodemon] restarting due to changes...
[nodemon] starting `npm run build`

> @db-ui/foundations@0.0.0 build
> npm-run-all build:*

> @db-ui/foundations@0.0.0 build:01_normalize
> npm run copy-normalize

> @db-ui/foundations@0.0.0 copy-normalize
> cpr ../../node_modules/@csstools/normalize.css/normalize.css scss/_normalize.scss -o

[nodemon] restarting due to changes...
[nodemon] starting `npm run build`

> @db-ui/foundations@0.0.0 build
> npm-run-all build:*

> @db-ui/foundations@0.0.0 build:01_normalize
> npm run copy-normalize

Sass is watching for changes. Press Ctrl-C to stop.

> @db-ui/foundations@0.0.0 copy-normalize
> cpr ../../node_modules/@csstools/normalize.css/normalize.css scss/_normalize.scss -o

[nodemon] restarting due to changes...
[nodemon] starting `npm run build`

> @db-ui/foundations@0.0.0 build
> npm-run-all build:*

Mitosis: react: generated 29 components, 66 regular files.
Mitosis: generation completed.

> @db-ui/foundations@0.0.0 build:01_normalize
> npm run copy-normalize

> @db-ui/foundations@0.0.0 copy-normalize
> cpr ../../node_modules/@csstools/normalize.css/normalize.css scss/_normalize.scss -o

[nodemon] restarting due to changes...

Expected Behaviour

There wouldn't be a constant, most likely self-invoked build (or in this case copy) cycle.

Screenshots

No response

Browser version

None

Add any other context about the problem here.

No response

mfranzke commented 3 weeks ago

this is related to https://github.com/db-ui/mono/pull/2025/files