简体   繁体   English

watchman cli 选项,用于查看具有排除和包含列表的多个文件夹,触发脚本并查看脚本的 stdout/stderr

[英]watchman cli options for watching multiple folders with exclusion and inclusion list, trigger a script and see the stdout/stderr of the script

Is there any watchman guru here?这里有守望大师吗? I'd like to know the command line options to watch.go files but not dist/ in server, watch *.js, *.jsx, but not dist/ and node_modules/ in webapp, and trigger build_deploy.sh script.我想知道观察的命令行选项。go 文件,但不是服务器中的 dist/,观察 *.js,*.jsx,但不是 webapp 中的 dist/ 和 node_modules/,并触发 build_deploy.sh 脚本。 And also, is there a way to tail the stdout/stderr when the build_deploy.sh is executing?而且,有没有办法在 build_deploy.sh 执行时跟踪标准输出/标准错误?

Checkout watchman triggers: https://facebook.github.io/watchman/docs/cmd/trigger.html结帐守望触发器: https://facebook.github.io/watchman/docs/cmd/trigger.html

You should be able to set up a trigger that runs build_deploy.sh when only files matching your criteria change.当只有符合您的条件的文件发生更改时,您应该能够设置运行 build_deploy.sh 的触发器。 It also has options to control where stdout and stderr go, so you could write them to your own log file somewhere.它还具有控制 stdout 和 stderr go 位置的选项,因此您可以将它们写入您自己的日志文件的某个位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 监视器错误与ember-cli - Watchman Error with ember-cli PHP脚本来验证多个Facebook访问令牌 - php script to validate multiple facebook access tokens 如何创建具有多个选项的Facebook样式自动完成列表 - How to create a Facebook style autocomplete list with multiple options select 如何在充当侦听器的脚本中查看变量的内容:Facebook实时更新 - How to see the content of a variable in a script that acts as a listener: Facebook real time update 象按钮外的按钮这样的Facebook facebook无法在HTML5,iframe或其他任何选项(XBML?)中运行 - facebook like button script for off site not working in any of the options, HTML5, iframe, or other (XBML?) PHP脚本从多个页面的Facebook事件中提取 - PHP script to pull from Facebook events from multiple pages 多墙张贴网站脚本。 无法显示粉丝页面列表时出现错误 - mutiple wall posting site script . have error with not display fanpage list 是否可以在.watchmanconfig中配置Watchman触发器? - Is it possible to configure watchman triggers in .watchmanconfig? 如何在ubuntu上安装facebook watchman? - How to install facebook watchman on ubuntu? Watchman com.github.facebook.watchman.plist:不允许操作 - Watchman com.github.facebook.watchman.plist: Operation not permitted
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM