Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ demo-app
create-react-webpack demo-app -e
```

It incules the node server for deploying into production into your `demo-app`, with below file footprint.
It `includes` the `node server` for deploying `into` production into your `demo-app`, with below file footprint.

```
demo-app
Expand Down Expand Up @@ -92,7 +92,8 @@ Uses webpack `prod` `config` along with `base` `config`
### `npm start`

Start the production server on default port `3000`.<br>
Read files from `dist` folder.
Read files from `dist` folder.<br>
before running this first run `npm run build`.

### `npm run dev`

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-react-webpack",
"version": "0.0.5",
"version": "0.0.7",
"description": "create-react-webpack ",
"main": "scripts/create.js",
"bin": {
Expand All @@ -25,6 +25,7 @@
},
"homepage": "https://github.com/AlokTakshak/create-react-webpack#readme",
"dependencies": {
"chalk": "^2.4.2"
"chalk": "^2.4.2",
"update-notifier": "^3.0.1"
}
}
6 changes: 6 additions & 0 deletions startApp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

const path = require("path");
const child_process = require("child_process");
const updateNotifier = require('update-notifier');
const pkg = require('./package.json');

const notifier = updateNotifier({pkg});
notifier.notify();
console.log(notifier.update)

var args = process.argv.slice(2);
var dirName = args[0];
Expand Down