dead-fast-and-soon / save-autorun

MIT License
6 stars 4 forks source link

.save.cson not working #12

Open walfud opened 8 years ago

walfud commented 8 years ago

on Win 10 x64 pro,
config.cson:

"*":
  "atom-beautify":
    general:
      _analyticsUserId: "61a4bd99-c0e7-4477-9568-90cea835a67e"
  autosave: {}
  core:
    disabledPackages: [
      "markdown-preview-plus"
      "terminal-plus"
      "remote-edit"
      "language-clojure"
      "language-coffee-script"
      "language-csharp"
      "language-gfm"
      "language-go"
      "language-hyperlink"
      "language-less"
      "language-mustache"
      "language-make"
      "language-objective-c"
      "language-perl"
      "language-php"
      "language-property-list"
      "language-python"
      "language-ruby"
      "language-ruby-on-rails"
      "language-sass"
      "language-shellscript"
      "language-toml"
    ]
  editor:
    fontSize: 16
  "exception-reporting":
    userId: "2983d2c3-ed35-a4c1-d230-9df38a3d3faa"
  "language-babel": {}
  "make-executable": {}
  minimap:
    displayMinimapOnLeft: true
  "save-autorun": {}
  welcome:
    showOnStartup: false

.save.cson

# Save Autorun Definitions
#
# For more details on how to create definitions see:
# https://atom.io/packages/save-autorun

#"**.test": "command"

"*": {
  "**/*.js": [
    "babel ${file} -o _${file}"
    "node _${file}"
  ]
  "*.js": [
    "babel ${file} -o _${file}"
    "node _${file}"
  ]
}

and now, I have a index.js on root dir, I use ctrl-s to save the file, but nothing happened... I don't know what's wrong.

sebastientaggart commented 7 years ago

@walfud did you ever figure this out?

walfud commented 7 years ago

No. I'm sorry that I am not using this plugin now.

Goodwine commented 7 years ago

I had this same issue and to "solve" it, I had to save .save.cson and reload atom (Ctrl+Shift+F5). I wonder if that would work for you.

Goodwine commented 7 years ago

Actually I see what's going on. This is a duplicate of Issue #14