mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Modify build.md accompanied by npm run dev-start
This commit is contained in:
@@ -11,25 +11,19 @@ Install requirement packages.
|
||||
$ npm install
|
||||
```
|
||||
|
||||
Build codes.
|
||||
Build codes and run.
|
||||
|
||||
```
|
||||
$ npm run webpack
|
||||
$ npm run dev-start
|
||||
```
|
||||
|
||||
After a few seconds, you will see this message.
|
||||
This command runs `npm run webpack` and `npm run hot` in parallel. It means it is the same thing to run those commands in 2 terminals.
|
||||
|
||||
```
|
||||
webpack: bundle is now VALID.
|
||||
```
|
||||
And webpack will watch the code changes and apply it automatically.
|
||||
|
||||
Then, we have to run the app.
|
||||
```
|
||||
$ npm run hot
|
||||
```
|
||||
> Actually the app can be start with `npm start`. However, the app will use the compiled script.
|
||||
If this error: `Failed to load resource: net::ERR_CONNECTION_REFUSED` happens, please reload Boostnote.
|
||||
|
||||
By this, webpack will watch the code changes and apply it automatically.
|
||||

|
||||
|
||||
> ### Notice
|
||||
> There are some cases you have to refresh app yourself.
|
||||
|
||||
Reference in New Issue
Block a user