-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When building and build dir is set to / in config it deletes everything including hidden files and .git so all unsaved work will be gone 🙂🔫
Suggested solution
On build or dev command list the project existing directories, typically (assets, cache, components, layouts, pages, vendor)
- Do not ask confirmation on every build or dev
- If the build dir in config is set to
/reject the build or dev command. - If the build dir in config matches any of the existing directories in project (
buildexcluded) reject the build or dev command. - If the build is set to
buildthen build - If the build is set to anything directory not listed in project. Then build
When rejecting the build or dev command. Warn user and suggest -f flag
TerrorBite and eschwartz
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working