Skip to content

Grunt watches correctly, changes don't show anyway #5601

Closed
@Asitis

Description

@Asitis

Steps to reproduce

Follow these steps from the doc exactly (Magento 2.1)

  • Create Theme
  • Configure Grunt for theme (etc.)
  • Run grunt exec:theme
  • Run grunt less:theme
  • Run grunt watch

Expected result

  1. Make a css-change
  2. Grunt watch picks up on change and works it's magic
  3. Refresh page, see changes
    (Like it says in the docs)

Actual result

  1. Make a css-change
  2. Grunt watch picks up on change and works it's magic
  3. Refresh page, no changes

Already tried

  1. Resetting permissions
  2. Set developer mode
  3. Turn off cache

I only see the changes after I clear out the complete /var/ folder, then run exec:theme and less:theme again.

This makes the entire Grunt functionality pretty worthless, and I can't imagine that's supposed to be. A bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions