Giter VIP home page Giter VIP logo

Comments (7)

johnnyreilly avatar johnnyreilly commented on May 17, 2024 1

This doesn't look like the worst fix in the world 😄. Maybe we should use it?

from fork-ts-checker-webpack-plugin.

piotr-oles avatar piotr-oles commented on May 17, 2024

It will be hard to help you without reproduction repo :/ My first guess is some bug in Typescript if you use newer version of ts in the new clean repo :)

from fork-ts-checker-webpack-plugin.

vleandersson avatar vleandersson commented on May 17, 2024

@piotr-oles here is our fix. Upp till 1.0 fixes this problem for us. Do not propose you to use the same method, since its an ugly hack. Thou 1.1 (latest commit) might be of intrest for you. It fixes a bug that we have not reported here. It fixes our problem of linting for templates (Angular v. 4) gets stuck, i.e. you use a private variable in the view, which with angular-template-loader triggers a save and linting error. This is then caought in your plugin, but when you fix the linting error its stuck till you restart the watch.

Here is the commit that fixes the above problem: vleandersson/ugly-ts-checker-webpack-plugin@6514797

Fixes bug in prev. commit : https://github.com/vleandersson/ugly-ts-checker-webpack-plugin/pull/2/commits

Please use as you like :)

/V

from fork-ts-checker-webpack-plugin.

vleandersson avatar vleandersson commented on May 17, 2024

@johnnyreilly updated the code for a bug when file list is empty. Se old comment for details.

Go nuts! :)

from fork-ts-checker-webpack-plugin.

johnnyreilly avatar johnnyreilly commented on May 17, 2024

@piotr-oles what do you think?

from fork-ts-checker-webpack-plugin.

piotr-oles avatar piotr-oles commented on May 17, 2024

@vleandersson Your fix looks good, could you create a PR? :) Sorry for delay :/

from fork-ts-checker-webpack-plugin.

pelotom avatar pelotom commented on May 17, 2024

I'm curious if this is related to #74 at all, since that also has symptoms of not resolving paths after saving a file. However there the condition of being a non-emitting file seems to be sufficient but not necessary. I have a reproducing project here:

https://github.com/pelotom/fork-ts-checker-bug

from fork-ts-checker-webpack-plugin.

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.