Hi Quick update - https://github.com/theforeman/foreman/pull/3722 has been merged, which allows easy disabling of the webpack development server, in case you aren't working on the front-end. If disabled, you can continue running foreman as usual (e.g. `rails s`). Note that if you disable the dev server, you will need to run `rake webpack:compile` to generate the js bundle needed for Foreman to run correctly.
On Fri, Aug 12, 2016 at 1:01 PM, Tomas Strachota <tstrach...@redhat.com> wrote: > On 08/12/2016 11:25 AM, Daniel Lobato Garcia wrote: > >> On 08/12, Tomas Strachota wrote: >> >>> On 08/10/2016 02:01 PM, Tomer Brisker wrote: >>> >>>> Please note that running this way will limit the ability to use pry for >>>> debugging, as foreman prevents stdin echo. To use with pry, you can run >>>> both servers separately in different terminals - run rails as usual in >>>> one, and run `./node_modules/.bin/webpack-dev-server --config >>>> config/webpack.config.js` in the other. >>>> >>> >>> I noticed that when I run rails in development env, the webpack's >>> hostname >>> in assets is set to localhost. So of course it doesn't work when you're >>> developing on a different host. Can this be tuned right away in some >>> config >>> or does it need additional patches to switch the hostname? >>> >> >> I think this should cover that? It was merged just yesterday >> >> https://github.com/theforeman/foreman/commit/42ba771cc8bfc09 >> 257c15c5d388542d4d1b69358 >> >> > Nice, thanks! > > > -- >> Daniel Lobato Garcia >> >> @dLobatog >> blog.daniellobato.me >> daniellobato.me >> >> GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 >> Keybase: https://keybase.io/elobato >> >> > -- > You received this message because you are subscribed to the Google Groups > "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Have a nice day, Tomer Brisker Red Hat Engineering -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.