diff --git a/.gitignore b/.gitignore index dded16059..4115c7fca 100644 --- a/.gitignore +++ b/.gitignore @@ -14,10 +14,7 @@ website/public/ website/.deploy*/ website/src/_drafts website/themes/uppy/source/uppy/ - npm-debug.log* website/themes/uppy/_config.yml - config/ - nohup.out diff --git a/bin/bootandkill-servers b/bin/bootandkill-servers index b4d67ff4e..8753b4cfb 100755 --- a/bin/bootandkill-servers +++ b/bin/bootandkill-servers @@ -96,7 +96,7 @@ echo "[${__base}] --> and I don't know yet how to check for that" sleep ${buildWait} echo "[${__base}] --> Showing uppy.js builds and sizes" -ls -al dist/uppy.js website/public/js/uppy.js website/themes/uppy/source/uppy/uppy.js || true +ls -al dist/uppy.js website/public/uppy/uppy.js website/themes/uppy/source/uppy/uppy.js || true echo "" url="http://localhost:4000/uppy/uppy.js" diff --git a/website/update.js b/website/update.js index dcd2f6084..a446a404c 100644 --- a/website/update.js +++ b/website/update.js @@ -52,7 +52,7 @@ var saveConfig = Object.assign({}, defaultConfig, loadedConfig, scanConfig) fs.writeFileSync(configPath, YAML.safeDump(saveConfig), 'utf-8') console.info(chalk.green('✓ rewritten: '), chalk.dim(configPath)) -exec('cp -vfR ' + uppyRoot + '/dist/ ' + webRoot + '/themes/uppy/source/uppy', function (error, stdout, stderr) { +exec('cp -vfR ' + uppyRoot + '/dist/* ' + webRoot + '/themes/uppy/source/uppy', function (error, stdout, stderr) { if (error) { console.error( chalk.red('x failed to inject: '),