Watch should be added for Dockerfile and other deps
Error:
adding watch for C:Usersgarvinprojectskube-taskjobDockerfile: The parameter is incorrect
I looked at the code and the error seems to be coming from here:
https://github.com/GoogleCloudPlatform/skaffold/blob/739a5048151dc610956fa7117075add73bff1795/pkg/skaffold/watch/watch.go#L202
Perhaps this is an issue with http://github.com/rjeczalik/notify and Windows?
Skaffold version: v0.2.0
Operating system: Windows 10 pro (build 16299)
Content of skaffold.yaml:
apiVersion: skaffold/v1alpha1
kind: Config
build:
artifacts:
- imageName: localhost:5000/kube-task
workspace: C:\Users\garvin\projects\kube-task\job
local: {}
deploy:
kubectl:
manifests:
- paths:
- k8s/*
parameters:
KUBE-TASK: localhost:5000/kube-task
I also had the same issue trying to run skaffold on windows 7 after running skaffold dev, is there a fix for this?
The binary I was using was this one:
https://storage.googleapis.com/skaffold/v0.1.0/skaffold-windows-amd64.exe
Running into the same issue.
My Env:
I also ran into the same problem with Windows 10 (latest version) and skaffold 0.3.0.
However, after building master (7349a0f3bc97926c5a894bb1e0af7c63e254a373), this is no longer happens.
To use master, install Go, delete the old skaffold binary and run go get -u github.com/GoogleCloudPlatform/skaffold/cmd/skaffold. Assuming $GOPATH/bin is in your PATH, you can run skaffold from anywhere.
I believe this might be due to switching to fsnotify a few days ago.
Fixed with #620