Skip to content

No recompilation if file changed more than once #9

@Avijobo

Description

@Avijobo

After each new 'meteor run', when a source file is edited then, compiler only reruns once for that file. A new edit of the same file does not trigger a new compilation:

This is the log after a first 'main.ts' change:

Typescript processing requested for web.browser using Typescript 4.6.2 
Compiling server/main.ts 
Writing .meteor/local/plugin-cache/refapp_meteor-typescript/0.3.8/v2cache/buildfile.tsbuildinfo 
Compilation finished in 0.1 seconds. 1 files were (re)compiled. 
Typescript summary: 0.3 seconds for sending 113 transpiled files on for bundling 
Typescript processing requested for os.linux.x86_64 using Typescript 4.6.2 
Typescript summary: 0.3 seconds for sending 40 transpiled files on for bundling 
=> Meteor server restartedTypescript processing requested for web.browser.legacy using Typescript 4.6.2 
Typescript summary: 0.3 seconds for sending 113 transpiled files on for bundling

This is the log after a second 'main.ts' change:

Typescript processing requested for web.browser using Typescript 4.6.2 
Typescript summary: 0.3 seconds for sending 113 transpiled files on for bundling 
Typescript processing requested for os.linux.x86_64 using Typescript 4.6.2 
Typescript summary: 0.3 seconds for sending 40 transpiled files on for bundling 
=> Meteor server restartedTypescript processing requested for web.browser.legacy using Typescript 4.6.2 
Typescript summary: 0.3 seconds for sending 113 transpiled files on for bundling 

As you can see, 'main.ts' is not recompiled anymore.

This happens for all source files, so they can only be changed once.
A new 'meteor run' resets this behavior.

This behavior is here already for some time, could even be from the beginning when I started using this package about half year ago.
It works fine with the default meteor 'typescript' package, which recompiles correctly with any file change, however since this doesn't show any error logging I prefer this package.

Any ideas?

I'm currently running Meteor 2.7 on Linux Mint 19.2 (Ubuntu 18.04).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions