We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07d292f commit 1a66fc1Copy full SHA for 1a66fc1
docker/bin/config.json
@@ -0,0 +1,14 @@
1
+{
2
+ "ignore": [
3
+ ".git",
4
+ "node_modules/**/node_modules"
5
+ ],
6
+ "execMap": {
7
+ "js": "node --debug --harmony"
8
+ },
9
+ "verbose": true,
10
+ "TODO":"https://github.com/remy/nodemon/issues/951",
11
+ "watch": [
12
+ "./"
13
+ ]
14
+}
docker/bin/index.js
@@ -0,0 +1,18 @@
+/**
+ * Created by Freax on 16-12-11.
+ * @Blog http://www.myfreax.com/
+ */
+const nodemon = require('nodemon');
+const config = require('./config.json');
+
+nodemon(config);
+nodemon.on('start', function () {
+ console.log('App has started');
+}).on('quit', function () {
15
+ console.log('App has quit');
16
+}).on('restart', function (files) {
17
+ console.log('App restarted due to: ', files);
18
+});
0 commit comments