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.
compiler
1 parent bdebb61 commit ea1a963Copy full SHA for ea1a963
http.js
@@ -262,6 +262,8 @@ function start (entry, opts) {
262
263
// TODO: move all UI code out of this file
264
handler.state = state
265
+ // Expose compiler so we can use it in `bankai start`
266
+ handler.compiler = compiler
267
return handler
268
269
// Return a handler to listen.
lib/cmd-start.js
@@ -9,7 +9,7 @@ module.exports = start
9
function start (entry, opts) {
10
var handler = bankai(entry, opts)
11
12
- isElectronProject(handler.dirname, function (err, bool) {
+ isElectronProject(handler.compiler.dirname, function (err, bool) {
13
if (err) throw err
14
opts.electron = bool
15
0 commit comments