mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-18 21:27:54 +00:00
Compile all the coffee-script files once after installing, rather than on each run.
This commit is contained in:
parent
7e25bfe91a
commit
1c209fa827
@ -3,6 +3,7 @@
|
||||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"preinstall": "bash deps.sh",
|
||||
"postinstall": "node ./node_modules/coffee-script/bin/coffee -c ./src",
|
||||
"start": "node src/supervisor.js"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -2,7 +2,6 @@ process.on('uncaughtException', function (e) {
|
||||
console.log('Got unhandled exception', e)
|
||||
})
|
||||
|
||||
require('coffee-script/register');
|
||||
var knex = require('./db')
|
||||
|
||||
// Wait for the DB schema to be created
|
||||
|
Loading…
Reference in New Issue
Block a user