Faster way to test changes than rebuild?


(Alexander “Weej” Jones) #1

While setting this up it’s taking around 5 minutes to rebuild every time I make a tiny change, as it compresses and does other mystical things to various resources.

Is there some slightly less pure way to test configuration changes before rebuilding proper?

Many thanks


(Rafael dos Santos Silva) #2

If you are developing a plugin you should use Beginners Guide to Install Discourse on Ubuntu for Development or the equivalent to your OS.

Also, if you want to test a quick hack on prod, enter the container with ./launcher enter app, do your changes, restart necessary services (sv restart nginx for example) and test. This changes are lost on rebuild, so this is only to test.