Skip to content

Javascript workflow is way too slow #5921

Closed
@kandrejevs

Description

@kandrejevs

When rewriting or adding new javascript files work in them is way too slow. After each change I have to delete var and pub static folders and then run setup:static-content:deploy to see my changes in frontend. This results in a lot of time wasted for waiting when static content deployment finishes.

Steps to reproduce

  1. add new javascript file in custom theme folder or rewrite existing
  2. edit file and reload browser

Expected result

  1. Your changes should be visible right away when working with disabled cache and in development mode

Actual result

  1. magento serves previously generated file. to be able to see your changes you have to delete var and pub/static folders and perform full static content deployment which takes a lot of time compared to just reloading web browser.

This is a huge issue in development workflow by slowing down developers and making development process almost unusable. For me this process takes about 4 minutes, 4 minutes is way too long for 1 iteration in debuging, changing, adding content to javascript files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: FrontendIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions