Skip to content

@import files are not being watched in development mode  #1900

Open
@nvaken

Description

@nvaken

I thought pull request #995 should fix my issues, but apparently the current version I'm using of the LESS JS (less-1.6.3.min.js) is not watching over my import files and keeps adding them to the local storage. The only way to get the @import files refreshed is dumping my browser's local storage.

I'm using the following to setup development mode and watch mode:

less.env = "development"; less.watch();

An example of how the @import files are being imported in my style.less:

@import "_vars";
@import "_grid";
@import "_basics";
@import "_vars";

Summarising:

  • All the .less files are being imported correctly.
  • All the non-@import files are being refreshed after being modified.
  • All the @import are only being refreshed when dumping my browser's local storage.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions