简体   繁体   中英

Run grunt task from another gruntfile

I'm trying to figure out how I can watch one of my less files, and when that file updates, trigger the Gruntfile.js in /bootstrap and run it's less function.

I'm building something out that requires me to use bootstrap but not disturb anything in the bootstrap folder other than adding one @include in bootstrap/less/bootstrap.less , so that I can use bootstraps less variables and functions in style overrides and have all styles in one css file.

对于那些偶然发现此问题的人,也许此链接可以回答您的问题: 在一个Gruntfile上运行另一个Gruntfile任务

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