Nested less dependencies do not live-reload
See original GitHub issuemodule.js
import "./module.less";
module.less
@import "./other.less"
If other.less changes it will not be reflected in live-reload either on the client or server. Effectively meaning the only way to see the changes is to restart the server (or use development.html).
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (13 by maintainers)
Top Results From Across the Web
Refresh less css which has other imported less files without ...
Possible setup is Node.js with Grunt which has grunt-contrib-less and grunt-reload modules installed. Your grunt.js config should look like this: module.exports ...
Read more >Bundle Stylesheets and Add LiveReload With Rollup
I like it because it gives me access to the parts of LESS and Sass that I liked — nesting, simple variables —...
Read more >The Best Way To Architect Your Angular Libraries
The ideas presented in this article are based on extensive experience from large enterprise environment (100 Angular SPAs and 30+ libs )…
Read more >gajus/babel-plugin-react-css-modules - GitHub
If you are not familiar with CSS Modules, it is a concept of using a module ... babel-plugin-react-css-modules as a direct dependency of...
Read more >Live Reload with Spring Boot Developer Tools - Configuration
Ensure that spring-boot-devtools is a dependency in the ... notice spurious errors during server restart, such as Could not navigate to …
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have this working in a prerelease. If you update your dependencies to:
You can try it out. Will wait on some feedback before releasing.
Update: changed live-reload and steal-tools so that the
includedDeps
metadata property is used to know of dependencies that are not part of the normal dependency graph. Plugins can add this metadata and we’ll watch for these files and trigger reloads when they change, just like for normal deps.Next need to update the less plugin so that it sets this metadata for its nested dependencies and test the entire flow.