You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
387 B
17 lines
387 B
const Application = require('thinkjs');
|
|
const babel = require('think-babel');
|
|
const watcher = require('think-watcher');
|
|
const notifier = require('node-notifier');
|
|
|
|
const instance = new Application({
|
|
ROOT_PATH: __dirname,
|
|
watcher: watcher,
|
|
transpiler: [babel, {
|
|
presets: ['think-node']
|
|
}],
|
|
notifier: notifier.notify.bind(notifier),
|
|
env: 'development'
|
|
});
|
|
|
|
instance.run();
|