Skip to content
Permalink
Browse files

Restore defaulting to polling trigger

Signed-off-by: David Gageot <david@gageot.net>
  • Loading branch information...
dgageot committed Jun 6, 2019
1 parent 5e7a25f commit 9935f9ecd68b50759d4180d7319e7fd43428fe3d
Showing with 2 additions and 2 deletions.
  1. +1 −1 cmd/skaffold/app/cmd/dev.go
  2. +1 −1 docs/content/en/docs/references/cli/_index.md
@@ -34,7 +34,7 @@ func NewCmdDev(out io.Writer) *cobra.Command {
WithDescription("Runs a pipeline file in development mode").
WithCommonFlags().
WithFlags(func(f *pflag.FlagSet) {
f.StringVar(&opts.Trigger, "trigger", "notify", "How are changes detected? (polling, manual or notify)")
f.StringVar(&opts.Trigger, "trigger", "polling", "How are changes detected? (polling, manual or notify)")
f.StringSliceVarP(&opts.TargetImages, "watch-image", "w", nil, "Choose which artifacts to watch. Artifacts with image names that contain the expression will be watched only. Default is to watch sources for all artifacts")
f.IntVarP(&opts.WatchPollInterval, "watch-poll-interval", "i", 1000, "Interval (in ms) between two checks for file changes")
}).
@@ -409,7 +409,7 @@ Flags:
--skip-tests Whether to skip the tests after building
--tail Stream logs from deployed objects (default true)
--toot Emit a terminal beep after the deploy is complete
--trigger string How are changes detected? (polling, manual or notify) (default "notify")
--trigger string How are changes detected? (polling, manual or notify) (default "polling")
-w, --watch-image strings Choose which artifacts to watch. Artifacts with image names that contain the expression will be watched only. Default is to watch sources for all artifacts
-i, --watch-poll-interval int Interval (in ms) between two checks for file changes (default 1000)

0 comments on commit 9935f9e

Please sign in to comment.
You can’t perform that action at this time.