Skip to content

.gulp.json not working well with gulpfile.ts #181

@bjg2

Description

@bjg2

gulp version 4.0.0
gulp CLI version 2.0.1

Please take a look at gulp-typescript-fail repo, there is a small repro.

gulp test is not working and gulp test --gulpfile other_folder/gulpfile.ts is working, even though the same gulpfile is defined in .gulp.json. Also, if I execute gulp test --gulpfile other_folder/gulpfile.ts silent flag in .gulp.json is completely ignored, while it is working as expected if provided via CLI.

Even if I move gulpfile.ts is in the root and I change .gulp.json to point at gulpfile.ts, silent flag in the .gulp.json is working for default messages but is ignored for ts one and [22:39:59] Requiring external module ts-node/register is written. The same is not written if it is provided via CLI as gulp test --silent.

So the .gulp.json is not working for me, am I doing something wrong? How can we fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions