Skip to content

Not compiling @import changes #252

@johnstew

Description

@johnstew

Hi all,

So I am experiencing an issue where less-loader is not compiling any changes to my @imported files. It appears to work for the root file but does not update for any of the @imported ones.

I create a project to repro this. Webpack Less Loader Test

If you clone down, npm i, and then ./node_modules/.bin/webpack --watch it will perform the initial compile just fine. But once an update is made to the imported file it will say it does something in the console but if you check the output of the file, the change is not reflected.

Hoping this is something small I am missing. Here are versions of everything.

Node --> 8.9.0
NPM --> 5.5.1
OS --> Mac OSX 10.11.6

Deps:

"css-loader": "^0.28.11",
"extract-text-webpack-plugin": "^3.0.2",
"less": "^3.0.1",
"less-loader": "^4.1.0",
"webpack": "^3.11.0",
"webpack-dev-server": "^3.1.1"

Thanks!

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