Skip to content

Commit

Permalink
dx(build): provide means of build watching
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Nov 11, 2016
1 parent f5235c3 commit b337f58
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,23 @@ Use your distribution's package manager to install.

As you make changes, close the entire app (cmd-q on OS X, or ctrl-c at the terminal) then run `npm run start` again.

##### Progressive Webpack build for the notebook

In separate terminals run:

```
npm run build:main
npm run build:renderer:watch
```

and

```
NODE_ENV=development ./node_modules/electron/cli.js ./app/
```

The webpack build will keep occurring as you modify source. When you open a new notebook, you'll get the freshest copy of the notebook app.

#### Build Documentation
You can run nteract's documentation generator by running

Expand Down
3 changes: 0 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,5 @@ module.exports = {
externals: nodeModules,
plugins: [
new webpack.IgnorePlugin(/\.(css|less)$/),
new webpack.BannerPlugin('require("source-map-support").install();',
{ raw: true, entryOnly: false })
],
devtool: 'sourcemap'
};

0 comments on commit b337f58

Please sign in to comment.