You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 10, 2019. It is now read-only.
Update grunt dev to run server.js, watch js app files, and launch a browser windows.
* use nodemon to run server.js so we have socket.io when developing locally.
* very basic watches on app.js, the watch should be steamlined, current it takes about 30s to build changes to the js app files.
Copy file name to clipboardExpand all lines: README.md
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,13 +50,23 @@ You can download a prebuilt bundle under [releases](https://github.com/whiteout-
50
50
This will download all dependencies, run the tests and build the Chrome Packaged App bundle **release/whiteout-mail_DEV.zip** which can be installed under [chrome://extensions](chrome://extensions) in developer mode.
51
51
52
52
### Development
53
-
For development you can start a connect dev server:
54
53
54
+
For development you should begin by ensuring you have build a complete distribution.
55
+
56
+
*windows users may may need to comment out the shell task on line 823 of Gruntfile.js*
57
+
58
+
```bash
59
+
grunt dist
60
+
```
61
+
62
+
Then you can start a local instance with watchers and [live reload](http://livereload.com/) for the application js files.
63
+
64
+
```bash
55
65
grunt dev
66
+
```
56
67
57
-
Then visit [http://localhost:8580/dist/#/account?dev=true](http://localhost:8580/dist/#/account?dev=true) for front-end code or [http://localhost:8580/test/unit/](http://localhost:8580/test/unit/) to test JavaScript changes. You can also start a watch task so you don't have rebuild everytime you make a change:
68
+
If a browser window does not open to the local development instance automatically, you can goto [http://localhost:8859](http://localhost:8859) manually.
0 commit comments