Skip to content

Commit

Permalink
Fix bug when using space in folder names.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdotdesign committed Nov 28, 2016
1 parent a096856 commit 289f0ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion bin/lib/command/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ var renderCSS = require('../render/css')
var readConfig = require('./read-config')

module.exports = function(options) {
console.log(options)
var router = new koaRouter({prefix: options.prefix})

browserSync.watch("source/**/*.elm").on("change", browserSync.reload)
Expand Down
2 changes: 1 addition & 1 deletion bin/lib/render/elm.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ try {
// Renders an .elm file.
var render = function(file, debug, callback) {
var filename = `test-${+Date.now()}.js`
var arguments = `${file} --output ${filename} --yes`.split(' ')
var arguments = [file, '--output', filename, '--yes']
var result = ''
var command
var regexp
Expand Down

0 comments on commit 289f0ee

Please sign in to comment.