-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible feature to prevent overwriting source files #1171
Comments
It's not clear to me why this is a problem. What was your workflow that caused this to happen? |
There are plenty of tools that either ask if you want to overwrite and/or have special flags to force overwrite. They ask to prevent user error. |
To me, this creates more of a problem than a solution. If this was supported and I want to run |
That's not what i am suggesting. It would overwrite automatically without flag when it detects |
Before using We should note in the help text for the flag what the default for |
When i tried bundle it overwrite an existing
index.js
, luckily i had that checked into version control. However spago could put a// generated by spago
at the top of the generated file. Then when bundling it could check if that files exist, and if it does check whether it can find// generated by spago
then overwrite without asking.The text was updated successfully, but these errors were encountered: