Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
Live edit only from some files types?
Permanently deleted user
Created
When I trigger a refresh from a *.html.hml file the browser is refreshed. But from a *.js.coffee it is not. Is refresh only supposed to work from certain file types?
Yes, but CoffeeScript is supported. Please ensute that plugin CoffeeScript is installed. What do you mean "I trigger a refresh" — do you use "Reload in Browser" or do you edit file content?
Yes, coffeescript plugin is installed. And I have external compiler enabled. (But I'm not clear on what this is exactly doing)
I have split screen with haml on one side and coffeescript on the other. If I "view->refresh in browser" while focus in in the haml, the page is reloaded. If in the coffeescript file nothing happens. Does not matter if the coffeescript has edits.
Since my coffeescript is adding DataTables to some html from the haml, and
"will be hot-swapped without page refresh (of course, hot-swapped JavaScript will be effective only if it used in cycle or event-driven)."
That means that the page won't auto refresh. Ok that makes sense. But then if I explicitly to "refresh in browser" I would expect the page to refresh. Otherwise I need to change focus to haml or go the browser to see the effects. Should "refresh" force the update or just the hotswap fo the JS? If the latter, is the a way to force the page refresh from anywhere in IDEA?
Yes, but CoffeeScript is supported. Please ensute that plugin CoffeeScript is installed. What do you mean "I trigger a refresh" — do you use "Reload in Browser" or do you edit file content?
If edit — page is not reloaded, we use hotswap (i.e. script will be updated without page refresh (external compiler must be running, please see http://blog.jetbrains.com/webide/2012/08/liveedit-plugin-features-in-detail/)).
Yes, coffeescript plugin is installed. And I have external compiler enabled. (But I'm not clear on what this is exactly doing)
I have split screen with haml on one side and coffeescript on the other. If I "view->refresh in browser" while focus in in the haml, the page is reloaded. If in the coffeescript file nothing happens. Does not matter if the coffeescript has edits.
Since my coffeescript is adding DataTables to some html from the haml, and
"will be hot-swapped without page refresh (of course, hot-swapped JavaScript will be effective only if it used in cycle or event-driven)."
That means that the page won't auto refresh. Ok that makes sense. But then if I explicitly to "refresh in browser" I would expect the page to refresh. Otherwise I need to change focus to haml or go the browser to see the effects. Should "refresh" force the update or just the hotswap fo the JS? If the latter, is the a way to force the page refresh from anywhere in IDEA?
Also I definately do not seeing live edit anywhere for anything in haml files.