From c12df2133722af6d482ea5ff5a4d53d42d335a1a Mon Sep 17 00:00:00 2001 From: Martin Wighus Holtmon <martinwh@stud.ntnu.no> Date: Mon, 1 Nov 2021 15:09:48 +0000 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fed01a8..2c3c60c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,11 @@ 3. Open a terminal window at that directory: - Install modules: `npn install` - Build the website: `npm run build:w` - - Run the webserver: `node webServer.js` - This command essentially builds the website every thime you change something (:w = watch) + - If you modify the webpack.config.js file, you need to cancel and run this command again (every time you create a new page). + - Run the webserver: `node webServer.js` + - How to build and run the website: - On linux/mac you could run this one-liner to build and run the website: `node webServer.js && npn run build:w` - On Windows, the simplest way is to open two terminal windows for each command. (You could also run the start.bat file in each the directory) + + -- GitLab