Skip to content

Can't make it work on SublimeText 2.0.2 / Mac OS X 10.8.4 #1

@nhoizey

Description

@nhoizey

I installed Fido on SublimeText 2.0.2 on my Mac OS X 10.8.4, and tried to run a grunt command on file save.

My project file:

{
    "folders":
    [
        {
            "path": "/Users/nhoizey/Dropbox/Personnel/Devs/esviji.com"
        }
    ],
    "fido": {
        "command": "grunt compile",
        "env": {
            "path": "/usr/local/share/npm/bin"
        }
    }
}

The grunt compilecommand works as intended in a shell window, but I get this error when saving a file:

Writing file /Users/nhoizey/Dropbox/Personnel/Devs/esviji.com/less/styles.less with encoding UTF-8
Traceback (most recent call last):
  File "./sublime_plugin.py", line 190, in on_post_save
  File "./sublime_plugin.py", line 154, in run_timed_function
  File "./sublime_plugin.py", line 189, in <lambda>
  File "./fido.py", line 100, in on_post_save
AttributeError: 'Window' object has no attribute 'project_file_name'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions