The scaffold task scaffold:delete leaves an empty folder for pages and modules when removing. This causes an error "module already exists" when scaffolding a module with the same name (again).
Fix: Remove folder itself when deleting modules and pages.
The scaffold task
scaffold:delete
leaves an empty folder for pages and modules when removing. This causes an error "module already exists" when scaffolding a module with the same name (again).Fix: Remove folder itself when deleting modules and pages.