Azure / draft-classic

A tool for developers to create cloud-native applications on Kubernetes.
https://draft.sh
MIT License
3.92k stars 397 forks source link

local files changes are not being deployed automatically #842

Closed rnkhouse closed 5 years ago

rnkhouse commented 5 years ago

I ran this command: draft up --auto-connect

Connect to javascript:8080 on localhost:59132
[javascript]: server is listening on 8080
[javascript]: /
[javascript]: /favicon.ico
[javascript]: /
[javascript]: /favicon.ico
Your connection is still active.
Connect to javascript:8080 on localhost:59132

Application is up and running on azure domain. But, when I make some changes in file it's not changing in real time. I manually needs to run draft up in orderto see latest changes. Please advice.

bacongobbler commented 5 years ago

Hi @rnkhouse! The watch feature is not enabled by default, and in fact in #341 I reported that it does not work at this time.

If you want to invoke draft up on file changes, I highly recommend having a look at VSCode's kubernetes extension here: https://github.com/Azure/vscode-kubernetes-tools/#draft-support

Using that extension, you should be able to invoke draft up when a file is saved. If not, the Run on Save extension may help.

Will that work for you?

rnkhouse commented 5 years ago

Cool. Thanks for the detailed guideline.

bacongobbler commented 5 years ago

I'm gonna close this in favour of #341 so we consolidate similar tickets into one. Thanks for your interest in the project!