This repository has been archived by the owner on Mar 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
xclisten doesn't seem to be picking up file changes #20
Comments
Well here's a clue. I've got my
But I suspected that something wasn't going quite right after the first run. So I ran it twice manually. result? $ xcodebuild -workspace XXX.xcworkspace -scheme XYZ -sdk iphonesimulator -destination 'name=iPad Air' test 2> xcodebuild_error.log | xcpretty -tc
........................................
$ xcodebuild -workspace XXX.xcworkspace -scheme XYZ -sdk iphonesimulator -destination 'name=iPad Air' test 2> xcodebuild_error.log | xcpretty -tc
zsh: file exists: xcodebuild_error.log This is because $ xcodebuild -workspace XXX.xcworkspace -scheme XYZ -sdk iphonesimulator -destination 'name=iPad Air' test 2>! xcodebuild_error.log | xcpretty -tc However, this doesn't really work for bash. |
Ah... so I found something that will work with both shells. |
As a temporary workaround for fswatch -o $PROJECT_DIRECTORY | xargs -n1 -I{} xcodebuild -workspace WORKSPACE.workspace -scheme SCHEME -sdk iphonesimulator -destination 'name=iPad Air' test 2>| xcodebuild_error.log | xcpretty -c Seems to work fine. |
@fatuhoku sorry for the delay on this, I was on the vacation. Do you mind sending a PR? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Say I run
xclisten -d ipad_air -s MyLovelySpecs
. This seemingly picks up the first edit and runs the tests, but does not pick up the rest of the edits. In fact, I have to wait about 3 minutes before it runs the next round of tests.Why is this?
The text was updated successfully, but these errors were encountered: