Skip to content

Commit 5758129

Browse files
committed
tasks: rename watch_plotly.js -> watch.js
- to make it consistent with `npm run watch`
1 parent 3712e17 commit 5758129

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"stats": "node tasks/stats.js",
2828
"build": "npm run preprocess && npm run bundle && npm run header && npm run stats",
2929
"cibuild": "npm run preprocess && node tasks/cibundle.js",
30-
"watch": "node tasks/watch_plotly.js",
30+
"watch": "node tasks/watch.js",
3131
"lint": "eslint . || true",
3232
"lint-fix": "eslint . --fix",
3333
"pretest": "node tasks/pretest.js",

tasks/watch.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
var makeWatchifiedBundle = require('./util/watchified_bundle');
2+
var noop = function() {};
3+
4+
// make a watchified bundle for plotly.js and run it!
5+
var watchifiedBundle = makeWatchifiedBundle(noop);
6+
watchifiedBundle();

tasks/watch_plotly.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)