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

Don't work at all #44

Open alexisinwork opened 7 years ago

alexisinwork commented 7 years ago
  1. Install package save-commands in Atom
  2. Reload Atom
  3. save-commands.json:
    {
    "timeout": 5000,
    "commands" : [
        "src/**/*.elm : elm make src/Main.elm --output=gen/main.js"
    ]
    }
  4. On save src/Main.elm - it don't generate a js file. Actually package don't even appear in Packages tab in Atom. Please, help to solve this issue.
mvila commented 7 years ago

Here's my own working and actively maintained solution:

https://atom.io/packages/on-save

stevenventimiglia commented 7 years ago

Out of frustration, one of the things I learned was that I was opening entire root directories to view a full list of my projects - which at that point were now considered sub-directories - so that I could access all of them.

The solution was to only open a single project directory as the "Project". Now, my World is complete again. 😄