npm run watch-server
this will build the server using tsc and watch for changesnpm run watch-client
: this will bundle the client using webpack and watch for changesnpm start
: this will start the production server at build/server/server.jsnpm run dev-server
: this will serve the client files using webpack-dev-server.
If you’re just working on the server side you don’t need this, but if you’re working on the client it gives allows you to have Hot Module Reloading (which is useful for React development).
In production, the webpage and api info will be served from the same server, but in development we use a seperate WDS to allow HMR.
dabisrat / builders-game Goto Github PK
View Code? Open in Web Editor NEWThis project forked from hrr-19-crushers/builders-game
Multiplayer RPG game