Git Product home page Git Product logo

Comments (1)

redmunds avatar redmunds commented on June 22, 2024

I think I'm seeing the same problem. I have my project open to the Brackets repo. Every 20 seconds I see this set of messages:

Detect external changes: C:/Users/redmunds/dev/github/brackets/node_modules/grunt-contrib-less/node_modules/less/test/browser/css/urls.css (CSSCache.js:98)
Detect external changes: C:/Users/redmunds/dev/github/brackets/node_modules/grunt-contrib-less/node_modules/less/test/browser/css/relative-urls/urls.css (CSSCache.js:98)
Detect external changes: C:/Users/redmunds/dev/github/brackets/node_modules/grunt-contrib-less/node_modules/less/test/browser/css/rootpath/urls.css (CSSCache.js:98)
Detect external changes: C:/Users/redmunds/dev/github/brackets/node_modules/grunt-contrib-less/node_modules/less/test/browser/css/rootpath-relative/urls.css (CSSCache.js:98)
GET http://localhost:8081/test/browser/less/modify-this.css  (jquery-2.1.0.min.js:3)
GET http://localhost:8081/test/browser/less/modify-again.css  (jquery-2.1.0.min.js:3)
GET http://localhost:8081/test/browser/less/imports/modify-this.css  (jquery-2.1.0.min.js:3)
GET http://localhost:8081/test/browser/less/imports/modify-again.css  (jquery-2.1.0.min.js:3)
GET https://github.com/modify-this.css 404 (Not Found) (jquery-2.1.0.min.js:3)
GET https://github.com/modify-again.css 404 (Not Found) (jquery-2.1.0.min.js:3)
GET https://github.com/cloudhead/imports/modify-this.css 404 (Not Found) (jquery-2.1.0.min.js:3)
GET https://github.com/cloudhead/imports/modify-again.css 404 (Not Found) (jquery-2.1.0.min.js:3)

For the urls.css case, it has @import "http://localhost:8081/test/browser/less/modify-this.css";, so I suspect it may be the same issue. Looking at the code, it seems that this._lastUpdateCheck is never set. Setting that value in the failure case should at least limit the error to only showing once.

Also, Brackets now supports File Watchers, so your should be able to rewrite this more efficiently to remove the polling.

FYI, this was originally reported at adobe/brackets#6439.

from brackets-css-class-code-hint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.