stop gulp from changing shell/cmd title name

后端 未结 1 1849
故里飘歌
故里飘歌 2021-02-14 16:57

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/gu

1条回答
  •  囚心锁ツ
    2021-02-14 17:42

    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();
    

    0 讨论(0)
提交回复
热议问题