Compile doesn't work in guard-coffeescript

10 views
Skip to first unread message

grea...@gmail.com

unread,
Apr 7, 2015, 3:40:13 AM4/7/15
to guar...@googlegroups.com

Hello, all ruby hackers !
On this small library i am trying to exec

$ bundle exec guard --debug
10:28:55 - DEBUG - Notiffany: gntp not available (Please add "gem 'ruby_gntp'" to your Gemfile and run your app with "bundle exec".).
10:28:55 - DEBUG - Notiffany: growl not available (Please add "gem 'growl'" to your Gemfile and run your app with "bundle exec".).
10:28:55 - DEBUG - Command execution: emacsclient --eval '1'
10:28:55 - DEBUG - Notiffany: emacs not available (Emacs client failed).
10:28:55 - DEBUG - Notiffany: tmux not available (:tmux notifier is only available inside a TMux session.).
10:28:55 - DEBUG - Notiffany: file not available (No :path option given).
10:28:56 - DEBUG - Notiffany is using TerminalNotifier to send notifications.
10:28:56 - DEBUG - Notiffany is using TerminalTitle to send notifications.
10:28:56 - DEBUG - Command execution: hash stty
10:28:56 - DEBUG - Guard starts all plugins
10:28:56 - DEBUG - Hook :start_begin executed for Guard::CoffeeScript
10:28:56 - DEBUG - Hook :start_end executed for Guard::CoffeeScript
10:28:56 - DEBUG - Hook :start_begin executed for Guard::CoffeeScript
10:28:56 - DEBUG - Hook :start_end executed for Guard::CoffeeScript
10:28:56 - DEBUG - Hook :start_begin executed for Guard::CoffeeScript
10:28:56 - DEBUG - Hook :start_end executed for Guard::CoffeeScript
10:28:56 - INFO - Guard is now watching at '/Users/ruslan/fun/websocket-rails-js'
10:28:56 - DEBUG - Start interactor
10:28:56 - DEBUG - Command execution: stty -g 2>/dev/null
[1] guard(main)> all
10:28:58 - DEBUG - Interactor was stopped or killed
10:28:58 - DEBUG - Command execution: stty  2>/dev/null
10:28:58 - INFO - Run all
10:28:58 - DEBUG - Hook :run_all_begin executed for Guard::CoffeeScript
10:28:58 - INFO - Compile
10:28:58 - INFO - 10:28:58 AM Successfully generated

10:28:58 - DEBUG - Hook :run_all_end executed for Guard::CoffeeScript
10:28:58 - DEBUG - Hook :run_all_begin executed for Guard::CoffeeScript
10:28:58 - INFO - Compile
10:28:58 - INFO - 10:28:58 AM Successfully generated

10:28:59 - DEBUG - Hook :run_all_end executed for Guard::CoffeeScript
10:28:59 - DEBUG - Hook :run_all_begin executed for Guard::CoffeeScript
10:28:59 - INFO - Compile
10:28:59 - INFO - 10:28:59 AM Successfully generated

10:28:59 - DEBUG - Hook :run_all_end executed for Guard::CoffeeScript
10:28:59 - DEBUG - Start interactor
10:28:59 - DEBUG - Command execution: stty -g 2>/dev/null

It notify, that everythins is compile but there is no js output here! 
I read carefully Guard README, guard-coffescript readme, but i can't understand what is going wrong
Here is Guard file

'coffeescript', :input => 'assets/javascripts', :output => 'src/'
guard 'coffeescript', :input => 'spec/javascripts/websocket_rails', :output => 'spec/javascripts/generated'
guard 'coffeescript', :input => 'spec/javascripts/helpers', :output => 'spec/javascripts/helpers'

I am trying also to create output dir like this

rm -rf src
mkdir src
chmod 700 src

But it also, doesn't compile anything

Note: To reproduce the bug, just clone the library above, and reproduce the obviouse steps, descriped above.

I will also repost this issue in the github issue ( yes i know it is not recommended way, as described in README, but may be somebody can help me )

With best regards, Ruslan.

grea...@gmail.com

unread,
Apr 7, 2015, 3:47:03 AM4/7/15
to guar...@googlegroups.com
Note: The Guadfile located [here]https://github.com/websocket-rails/websocket-rails-js/blob/master/Guardfile ( i the first line guard command is exists, but i can change the first message)

Cezary Baginski

unread,
Apr 7, 2015, 10:51:13 AM4/7/15
to guar...@googlegroups.com
Generally, if you suspect a bug (you followed the README, turned on debugging and nothing helped), it's probably best to just open an issue.
Reply all
Reply to author
Forward
0 new messages