Skip to content

Hot Reloading does not work for @import CSS #1

Closed
@manavsehgal

Description

@manavsehgal

Hot Reloading works just fine for any changes within React code (JSX). However, as we make changes
to partials or CSS imports in /app/styles/ folder, these changes are not hot reloaded in the browser.
It works fine for changes within /app/style.css though.

We are trying several possible solutions to this know issue. Following have been tried and failed...

  1. Using postcss-import and addDependencyTo: webpack. Not recommended approach as per the above mentioned thread.
  2. Chaining css-loader imports as mentioned here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions