简体   繁体   中英

Debugging Gulpfile with node-inspector takes long to start

I am trying to debug my gulp taks with node-inspector by running it like this

node-debug $(which gulp) build

and that works, except my Gulpfile is not .js but .coffee and for some reason it hangs for almost a minute in the beginning saying:

Requiring external module coffee-script/register

It doesn't take that long when I run it normally and it starts node-inspector almost instantly if I use Gulpfile.js. Why is it taking too long when I use Gulpfile.coffee?

It's not a big deal, yet a bit annoying

使用node-debug node_modules/gulp/bin/gulp.js build

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM