Skip to content

Commit

Permalink
fix: Fixed displayed project name in start script stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
halfzebra committed Jun 7, 2017
1 parent f813bed commit c8d0aea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require('dotenv').config({silent: true})

const fs = require('fs')
const path = require('path')
const chalk = require('chalk')
const webpack = require('webpack')
const WebpackDevServer = require('webpack-dev-server')
Expand Down Expand Up @@ -134,7 +135,7 @@ choosePort(HOST, DEFAULT_PORT)
return
}
const protocol = process.env.HTTPS === 'true' ? 'https' : 'http'
const appName = require(paths.elmPkg).name
const appName = path.basename(path.dirname(paths.elmPkg))
const urls = prepareUrls(protocol, HOST, port)
// Create a webpack compiler that is configured with custom messages.
const compiler = createCompiler(webpack, config, appName, urls)
Expand Down

0 comments on commit c8d0aea

Please sign in to comment.