How to fix Google-cloud-sdk 156.0.0 “There are too many files in your application for changes in all of them to be monitored.”?

后端 未结 4 2614
野性不改
野性不改 2021-02-19 18:55

I just installed Go 1.6.4 and google-cloud-sdk 1.56.0.0 on osX.

When I attempt to run the local dev_server I get the following warning.

/Users/Bryan/go/src/googl

4条回答
  •  闹比i
    闹比i (楼主)
    2021-02-19 19:48

    The corresponding error occurs when mtime_file_watcher.py tries to monitor all files under "GOPATH" but has too many files, so use the skip_files option of app.yaml to check vendor, node_modules and arbitrary number of files Can be avoided by excluding many projects to be monitored.

    https://cloud.google.com/appengine/docs/standard/python/config/appref#skip_files

    skip_files:
    - .*node_modules
    - .*vendor
    - .*project-name-having-too-many-files
    

提交回复
热议问题