Git Product home page Git Product logo

Comments (5)

failwyn avatar failwyn commented on July 18, 2024 1

Thanks, I'll take a look at this as soon as I can; I'm currently working on a few issues that have been reported with NUglify, then I'll take a look at this, then I'll get new version published. Work has been a bit crazy, so I haven't had the time to give these projects the attention they deserve; but I'm starting to find time here and there.

from webcompiler.

failwyn avatar failwyn commented on July 18, 2024

I'm not sure there is anything that can be done about this, I get the same reports about most of the extensions I use, most often ReSharper.

from webcompiler.

josh-bonner avatar josh-bonner commented on July 18, 2024

I've also seen this version of the extension hang for as long as 90 seconds. The trigger condition seems to be when you do something that adds a file to a project with WebCompiler's "compile on build" setting enabled, such as creating a file in Solution Explorer or using the Move Type To File refactor. The hang doesn't happen when compile on build is disabled.

During builds with the setting enabled, the extension aggressively recompiles all SCSS even if there are no changed files, adding about the same amount of time to the build as the hang takes. Maybe there's something wrong with the change detection and file adds are inadvertently causing a full synchronous recompile?

from webcompiler.

failwyn avatar failwyn commented on July 18, 2024

@josh-bonner That's an interesting observation, I never have compile on build enabled, which is probably why I have never seen this issue. I'll see if I can replicate it now. When you say adding a file in solution explorer, are you adding an SCSS file or is it with any file type?

from webcompiler.

josh-bonner avatar josh-bonner commented on July 18, 2024

Any file type, Razor views and javascript for instance. I hadn't noticed before, but it looks like it also happens when you move or delete a file, so maybe it just triggers on any project change?

from webcompiler.

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.