Respect the --resource-path flag

This commit is contained in:
Max Brunsfeld
2017-02-17 14:16:53 -08:00
parent 4acd477559
commit 060b027e2a

View File

@@ -106,14 +106,14 @@ module.exports = function parseCommandLine (processArgs) {
if (args['resource-path']) {
devMode = true
resourcePath = args['resource-path']
devResourcePath = args['resource-path']
}
if (test) {
devMode = true
}
if (devMode && !resourcePath) {
if (devMode) {
resourcePath = devResourcePath
}