Multiple Instances of Webpacker

I am a big fan of OS X of spaces and usually have quite a few instances of VSCode opened in various spaces.One early headache with this approach was Rails starting on port 3000 by default. The fix for this was quite easy. Just add an ENV[1] variable PORT=3002 (or whatever number you choose). The ENV is nice because it isolates the port number I picked from what I check in to git.In my post, Making Rails and Webpacker Feel Faster, I wrote about how I was using a separate Procfiles to start Rails and Webpacker quickly.
Multiple Instances of Webpacker #ruby #rubydeveloper #rubyonrails #webpacker https://rubyonrails.ba/single/multiple-instances-of-webpacker

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles