Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toaster -w conflicts with emacs #59

Open
elthariel opened this issue Jan 24, 2013 · 4 comments
Open

toaster -w conflicts with emacs #59

elthariel opened this issue Jan 24, 2013 · 4 comments

Comments

@elthariel
Copy link

Hi,

I'm an emacs user and try to use toaster on one of my coffee project.
If i edit a file with emacs that is currently watched by toaster, it will make coffee script crash due to some emacs behavior.

Whenever you edit a file with emacs, it creates a simlink to a non-existing file (it holds informations about who's currently editing the file), this cause a ENOENT exception within DirWatcher which is not handled and make toaster quit.

Here's an example trace :

[16:36:35] Compiled /home/lta/code/node/test/www/js/test.js

fs.js:524
  return binding.stat(pathModule._makeLong(path));
                 ^
Error: ENOENT, no such file or directory '/home/lta/code/node/test/src/.#test.coffee'
    at Object.fs.statSync (fs.js:524:18)
    at DirWatcher.diff (/usr/local/lib/node_modules/coffee-toaster/node_modules/fs-util/lib/fs-util.js:313:21)
    at DirWatcher.onchange (/usr/local/lib/node_modules/coffee-toaster/node_modules/fs-util/lib/fs-util.js:284:17)
    at FSWatcher.__bind (/usr/local/lib/node_modules/coffee-toaster/node_modules/fs-util/lib/fs-util.js:4:61)
    at FSWatcher.EventEmitter.emit (events.js:99:17)
    at FSEvent._handle.onchange (fs.js:826:12)

@elthariel
Copy link
Author

refs #47

@ghost ghost assigned arboleya Jan 25, 2013
@arboleya
Copy link
Owner

Very well, I'll take a look into this as soon as I can.

Thanks.

@arboleya
Copy link
Owner

Well, can't see it yet. I currenty don't have emacs here.

As you mentioned, this should have strong relations with the issue refs #47.

Can you tell if the emacs behavior is similar to vim?

@arboleya
Copy link
Owner

@elthariel Hi, I just want to tell you that I'm discontinuing Toaster in favor of it's new fork named Polvo.

More info here:

https://github.com/serpentem/coffee-toaster
https://github.com/serpentem/coffee-toaster/wiki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants