-
Notifications
You must be signed in to change notification settings - Fork 2.7k
yarn run is silent on Git Bash (Windows) #1096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @mikerockett! Is it possible to provide a |
@Daniel15 - Sure: {
"name": "epanel-assets",
"version": "0.0.4",
"description": "ePanel Asset Container/Builder",
"author": "Mike Rockett",
"license": "MIT",
"devDependencies": {
"node-sass": "^3.10.1",
"npm-watch": "^0.1.6"
},
"scripts": {
"sass": "node-sass --source-map true --include-path src/scss --output-style compressed src/scss/epanel.scss build/css/epanel.css",
"build": "npm-watch"
},
"watch": {
"sass": {
"patterns": [
"src/scss"
],
"extensions": "scss"
}
}
} Thanks 👍 |
@Daniel15 - have you been able to replicate my issue? |
Are you sure it's silent? It sure behaves weird, but in my case run scripts is really slow with Git Bash. And it get slower and slower until it freezes if I trigger run scripts inside run scripts. Like |
@faddee - It defintely works, there is just no console output. I'm not experiencing any lagging here - the process runs smoothly. Although, it does sometimes take a while to start, but that's only on first run after bootup. |
Is this possibly due to the same issue mentioned in #743? I've come across the same problem (Node 7.4.0; Yarn 0.18.1; Windows 7). In my case, I have two scripts that look something like |
I fixed this by updating my git for windows to the latest version, it looks to be a problem with winpty.exe I also updated to the latest nightly version of yarn v0.20.0 as there was a patch concerning this applied in version 0.19. node.js - v6.9.4 | yarn - v0.20.0-20170117.1018 | git for windows - 2.11.0.3 with MinGW teminal |
Looks like this is a configuration issue |
Do you want to request a feature or report a bug?
Bug: Running
yarn run <something>
does not show output when using Git Bash on Windows.What is the current behavior?
Currently, running
yarn run build
outputs Yarn's version and the commandnpm-watch
(in my case). If an error occurs during the watch process, there is no way to identify it.What is the desired behavior?
The output should be shown like it is when running the same command via the Windows Command Prompt.
Please mention your node.js, yarn and operating system version.
Node 4.2.6; Yarn 0.15.1; Git 2.9.2 64-bit; Windows 10
The text was updated successfully, but these errors were encountered: