Skip to content

Add "### Fast Compile >> .....ts" behind verbose flag, or add silent flag? #191

Open
@ThaNarie

Description

@ThaNarie

Hi,

One of the usages of grunt-ts is to compile 'generated' typescript files by a task that rune before this so all code is valid js.

For example:

scaffold:
  - 'scaffold-pages'
  - 'ts'
  - 'sass'
  - 'autoprefixer'
...
### Fast Compile >>deploy/htdocs/inc/script/test/jasmine-matchers.d.ts 
### Fast Compile >>deploy/htdocs/inc/script/test/jasmine.d.ts          
### Fast Compile >>deploy/htdocs/inc/script/test/testSpec.ts           
...

But because the output of grunt-ts is so 'long', as a user you are missing the output of the 'main' task (scaffold-pages).

It would be awesome if we can configure the verbosity of the task, either by putting this output behind the verbose option, or maybe adding a silent option to keep this the default but providing an option to keep it quiet :)

I'm open for providing a PR if desired, but just wanted to know if you're up to this idea and which of the above would be the best approach.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions