Comments (4)
看看这个 https://nocalhost.dev/docs/guides/hot-reload
from nocalhost.
本地不需要编译代码。一般来说是等源码上传到容器中,再执行 go run main.go 之类的来编译启动,或者也可以用 air 来实现自动的 hotreload。
from nocalhost.
https://github.com/cosmtrek/air
from nocalhost.
一般你在本地改完之后会立刻同步到集群里的 pod 。 然后运行 go run 就可以了。 或者你可以在本地变成 bin,然后在集群 pod 运行 bin
from nocalhost.
Related Issues (20)
- Idea 插件创建部署提示 rawManifestGit 不支持 HOT 2
- Nocalhost does not support debugging multiple different services simultaneously in IntelliJ IDEA HOT 2
- Istio注入,Mesh模式无效 HOT 1
- istio注入,Mesh模式下
- What is the status of nocalhost? HOT 2
- 可以出一个django的远程debug示例吗?
- 无法连接k8s集群,报错:Daemon responses empty data to GetDaemonServerInfo
- CNCF TOC annual review due HOT 3
- Error: Post "https://x.x.x.x:6443/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": Forbidden
- 支持不改动container name为nocalhost-dev
- PHP远程调试没起到效果
- Code of Conduct update to replace mediator email with the CNCF committee email
- Supports change the sync dir when DevMode started
- gitIgnore synchronization does not take effect HOT 1
- 有没有可能支持远程调试C/C++代码
- Failed to get node configs, please try again HOT 2
- Security Slam 2023 Participation
- vscode remote-ssh方式无法工作 HOT 1
- proxy mode下,如果代理到本地的进程A`想访问部署在集群中的下游服务B,是不是没法成功访问
- nocalhost组件依赖socat组件咨询
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nocalhost.