rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

bsb clean is not removing gentype files

Open Coobaha opened this issue 6 years ago • 3 comments

Decided to create a new issue so that it won't be lost in notifications spam

bsb -clean or bsb -clean-world is not removing all .gen.tsx files but some of them. It is especially annoying after git branches switch. Would be great if bsb will clean stale gentype files too.

[email protected]
[email protected]
  "gentypeconfig": {
    "language": "typescript",
    "importPath": "relative",
    "exportInterfaces": false,
    "module": "es6",
    "namespace": true
  },

https://github.com/cristianoc/genType/issues/8#

Coobaha avatar Sep 23 '19 10:09 Coobaha

@Coobaha do you have a small example where some .gen.tsx is not cleaned

bobzhang avatar Sep 23 '19 13:09 bobzhang

@bobzhang I managed to isolate it, it reproduces when module is in subdir.

https://github.com/Coobaha/bs-gentype-issue

Coobaha avatar Sep 23 '19 14:09 Coobaha

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 12 '21 15:09 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 16 '23 22:09 stale[bot]