JsonHunt / save-commands

Assign parametrized shell commands to file globs to be automatically run whenever the file is saved
MIT License
20 stars 11 forks source link

The sample config.cson doesn't work. #13

Closed QinMing closed 8 years ago

QinMing commented 9 years ago

The sample config.cson in readme doesn't work. Only the following works for me.

  "save-commands":
    commands: [
      "**/*.go : goimports -w {relPath}{filename}"
    ]

The important point is that I need to use commands as key, but not saveCommands

danielo515 commented 9 years ago

Not only fix the readme, also fix the implementation because the package saves the configuration with that parameters

JsonHunt commented 8 years ago

fixed