Now that I re-read what you originally asked, I'm curious if you actually need "Sockets" (as in SocketIO, which is server-initiated TCP/IP connection to a browser) or if APIs on both the hosted NodeBB server and the localhost server would do this better.
Either way, if you choose to go the NodeBB plugin route, you will need to know which Hooks are available. A "hook" is an event that your plugin subscribes to. When that event happens in the core NodeBB server, it will call the function in your plugin which subscribes to the event.
js & css minified every time. DevMode too
Anyone have a solution? I need css and js not minified in frontend! Its impossible to devolope design.
In DevMode Files minified too.
Hope anyone can help. Disable this feature hardcoded is a solution too.
NODE_ENV=development&& ./nodebb build
@PitaJ thanx. Fast answer. Many thanx.
Works only for "js" not for "css"!
Can i set "developement" in config.json too? Exist a list for configs-params?
*the actual wiki is really empty. No StructureLayer of Code, Dev-Resource is to small or empty categories ....
@ChrisKey the next main version will fix that big where CSS minification doesn't obey the development environmental variable.
You can't set it in the config file. What is your use case? Maybe an npm script or something would work.