Closed anonimusprogramus closed 2 years ago
@anonimusprogramus A fix for this issue has been released as a part of Stencil v2.15.2. Moving forward, Stencil is going to warn folks explicitly when a file(s) is going to be overwritten like so:
I'm going to close this issue. Thanks again!
Stencil version:
I'm submitting a: [x] bug report
Current behavior: Generating new component with
stencil g
overwrites already exists one without warning.Expected behavior: Warn user if component with same name already exists.
Steps to reproduce:
npm init stencil
, chooseapp
, follow steps until finish.npx stencil g x-button
, write code and save.npx stencil g x-button
againx-button
got overwrited