appengine
appengine copied to clipboard
Appengine isn't recompiling on changes
I recently switched OS to Linux noticed that I no longer get auto recompiling of my Appengine code (standard environment) on changes. I also upgraded the app from Go1.6 to 1.9 so I am not sure if this issue is due to issues in the latest appengine lib or if there is a missing file system watching lib.
To ensure that there isn't something with the existing app that is causing the problems I replicated the issue on a simple helloworld app as well.
Manually setting also doesn't have any effect
dev_appserver.py --enable_watching_go_path true --automatic_restart true .
Are you using gcloud or the legacy SDK? If gcloud, what does gcloud version say? If legacy, do you remember which version you downloaded?
Setting --enable_watching_go_path=true should be working. Can you run it again with --dev_appserver_log_level=debug and share any relevant logs?
I have tried using both the legacy and gcloud, right now I am using the latter, which I installed today. Running with the log_level set to debug doesn't output anything on changes and what is output on server calls doesn't output anything other than request / databinding info.
git:(v1.9) ✗ gcloud version
Google Cloud SDK 217.0.0
app-engine-go
app-engine-python 1.9.75
bq 2.0.34
cloud-datastore-emulator 2.0.2
core 2018.09.17
gsutil 4.34
The legacy version is
cat ~/Libs/go_appengine/VERSION
release: "1.9.74"
timestamp: 1531465394
api_versions: ['1']
supported_api_versions:
python:
api_versions: ['1']
python27:
api_versions: ['1']
go:
api_versions: ['go1', 'go1.6', 'go1.8', 'go1.9']
java7:
api_versions: ['1.0']