diff --git a/docs/dev/02-making-changes.md b/docs/dev/02-making-changes.md index f1ff39edc..9d1811302 100644 --- a/docs/dev/02-making-changes.md +++ b/docs/dev/02-making-changes.md @@ -23,11 +23,12 @@ Here are some tips on how to set up a Karma workspace and how to send a good pul * Install for development. Use a recent npm version, ignore peerdep warnings ```bash $ npm install - $ rm -rf node_modules/karma - $ cd node_modules - $ ln -s ../ karma - $ cd ../ - $ grunt browserify + + $ npm run init + # or if you're on Windows + $ npm run init:windows + + $ npm run build ``` ## Testing and Building @@ -49,7 +50,7 @@ Here are some tips on how to set up a Karma workspace and how to send a good pul - Build the client code via: ```bash - $ npm build + $ npm run build ``` ## Changing the Code diff --git a/test/client/karma.conf.js b/test/client/karma.conf.js index 4d4c14287..96a75f808 100644 --- a/test/client/karma.conf.js +++ b/test/client/karma.conf.js @@ -57,11 +57,12 @@ fs.lstat('node_modules/karma', (err, stats) => { console.log('**** Incorrect directory layout for karma self-tests ****') console.log(` $ npm install - $ rm -rf node_modules/karma - $ cd node_modules - $ ln -s ../ karma - $ cd ../ - $ grunt browserify + + $ npm run init + # or if you're on Windows + $ npm run init:windows + + $ npm run build `) process.exit(1) })