Skip to content

grunt clean does not clean generated folder #25739

Closed
@gwharton

Description

@gwharton

Preconditions (*)

  1. Magento 2.3-develop
  2. Copy the default grunt config
  cp grunt-config.json.sample grunt-config.json
  cp Gruntfile.js.sample Gruntfile.js

Steps to reproduce (*)

  1. Enable production mode
  2. php bin/magento setup:upgrade
  3. php bin/magento setup:di:compile
  4. php bin/magento setup:static-content:deploy
  5. grunt clean

Expected result (*)

  1. generated/code should be empty
  2. generated/metadata should be empty

Actual result (*)

  1. They are not empty.
  2. Analysis of grunt config shows it is still trying to clear var/generation/**/*

Metadata

Metadata

Assignees

Labels

Component: DeveloperFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions