Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Turn asset-map:compile into a cache-warmer #59072

Copy link
Copy link
Closed
@nicolas-grekas

Description

@nicolas-grekas
Issue body actions

At the moment, deploying an asset-mapper enabled app requires knowning about the asset-map:compile command.
And switching back and forth from the dev to the prod env requires knowing how to undo what this command did to get a working dev env back from prod (and running the command in the opposite direction.)

This creates DX issues like #59065.

I was thinking about changing the command to remove the assets files in debug mode. This would enable adding it to the default composer.json.

But it wouldn't fix DX for the back-n-forth between dev/prod. A cache-warmer would.

Is there any reasons why we didn't go with a cache-warmer? I checked #50112 but didn't find any rationale for/against this.

kaznovac and tito10047

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.