Skip to content

Parent file doesn't change when imported files change #2

Open
@Skalman

Description

@Skalman

Disclaimer: I'm new to Broccoli, and may have misunderstood something.

My goal: Have index.css update when I change layout.css.

Steps to reproduce:

  1. Set up the file structure below.
  2. Run broccoli serve.
  3. Change css/layout.css.

Expected result:
The served index.css changes (as well as layout.css).

What happens:
index.css doesn't update, only layout.css. index.css does get the correct initial content:

.layout { color: red; }

File structure

// Brocfile.js
var cssnext = require('broccoli-cssnext');
appCss = cssnext('css');
module.exports = appCss;
/* css/index.css */
@import url('layout.css');
/* css/layout.css */
.layout { color: red; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions