title: Is it possible to configure watchman triggers in .watchmanconfig?
body: <p>Facebook watchman docs describe how to configure triggers by passing json into the command like so:</p>
  
  <p><code>watchman --json-command &lt; ./tasks/cmds/watchman-build-trigger.json</code>
  where watchman-build-trigger.json contains the following:</p>
  
  <pre><code>[
      "trigger", 
      "/Users/michaelprescott/Projects/neuro", 
      {
          "name": "build",
          "expression": [
              "anyof",
              [
                  "match",
                  "src/*.js",
                  "wholename"
              ],
              [
                  "match",
                  "src/*.ts",
                  "wholename"
              ],
              [
                  "match",
                  "src/*.html",
                  "wholename"
              ]
          ],
          "command": [
              "./tasks/cmds/build.sh"
          ]
      }
  ]
  </code></pre>
  
  <p>However, I'm trying to understand how to use .watchmanconfig to setup a watch and set of triggers with <code>watchman watch-project</code>
  I have the following, but triggers aren't created.  Is this possible?  Does anyone have examples for .watchmanconfig's</p>
  
  <pre><code>{
      "ignore_dirs": [
          "node_modules"
      ],
      "watched": [
          {
              "path": "/Users/michaelprescott/Projects/neuro",
              "triggers": [
                  {
                      "command": [
                          "./tasks/cmds/build.sh"
                      ],
                      "expression": [
                          "anyof",
                          [
                              "match",
                              "src/*.js",
                              "wholename"
                          ],
                          [
                              "match",
                              "src/*.ts",
                              "wholename"
                          ],
                          [
                              "match",
                              "src/*.html",
                              "wholename"
                          ]
                      ],
                      "name": "build"
                  }
              ]
          }
      ]
  }
  </code></pre>