Code Monkey home page Code Monkey logo

Comments (4)

trotzig avatar trotzig commented on June 12, 2024

Hi @monovertex, sorry for the late response. I haven't seen this issue before. Are you getting this consistently or just every now and then?

from sublime-import-js.

monovertex avatar monovertex commented on June 12, 2024

Don't worry @trotzig. After I opened the issue I also encountered it on Linux and also got it to work on Windows.

I think it happens when the importjsd process is blocked or killed. I experienced the issue when the command failed because I had some syntax errors in the importjs config, but also saw it when, in a larger project, the process hanged because of a large number of files (see Galooshi/import-js#510) and I had to kill it, because it blocked Sublime.

Basically, I think the plugin doesn't know to re-start the process if it's no longer up.

from sublime-import-js.

trotzig avatar trotzig commented on June 12, 2024

Basically, I think the plugin doesn't know to re-start the process if it's no longer up.

Having this type of monitoring would certainly make the tool more robust.

from sublime-import-js.

monovertex avatar monovertex commented on June 12, 2024

I'll give it a shot. I think this could be easily combined with the request in #1 to make the plugin async. With a polling loop, it would be easy to detect when the daemon dies and restart it.

from sublime-import-js.

Related Issues (18)

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.