When gulp is called the it changes my cmd (windows) title to: "gulp"
I want the window name to stay as it was
I know I can use https://www.npmjs.com/package/gulp-shell but this seems like an overkill
I mean that if I call batch script
title mytitle
gulp .
the window's title is "gulp" and not "mytitle"
Use process.title
as stated in this issue : concat process.title instead of overwrite. You shoud use process.cwd()
to get the directory where the gulpfile is running.
somewhere in your gulpfile, according to your need, write:
process.title = process.cwd();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With