Giter Club home page Giter Club logo

Comments (5)

sheetalkamat avatar sheetalkamat commented on April 28, 2024

This is working as intended. ``--build only cares about time stamps of your project files or any references in tsconfig. packages/a does not reference package/b so there is no way of knowing changes in b should also be accounted for. (--build` does not account for failed resolutions/ files already compiled as part of your projects etc)

from typescript.

curtisman avatar curtisman commented on April 28, 2024

I see. I guess the recommendation is to not use --build in this kind of set up, or specify cross package project references (which doesn't feel right)?

from typescript.

curtisman avatar curtisman commented on April 28, 2024

Also, doesn't the tsbuildinfo file has all the input and referenced files and hash, can that be used to detect if b.d.ts changed?

from typescript.

sheetalkamat avatar sheetalkamat commented on April 28, 2024

Two things play there: Not all projects will have tsbuildInfo .. its not mandatory if the project is not referenced. We have so far kept similar approach but have thought of doing extra in case of buildInfo but it involves checking modified time of more files and in repro where there are many projects with lots of d.ts files (that arent listed as files the project depends on explicitly) it adds up so this has been in backlog to experiment for a while and not guaranteed to change soon.

from typescript.

typescript-bot avatar typescript-bot commented on April 28, 2024

This issue has been marked as "Not a Defect" and has seen no recent activity. It has been automatically closed for house-keeping purposes.

from typescript.

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.