Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit e56eabef
authored
Jul 30, 2014
by
Jan Aagaard Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deleted obsolete .watcher file (releted to old docs generation?
1 parent
a728a7aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
.watchr.js
.watchr.js
deleted
100644 → 0
View file @
a728a7a
var
watchr
=
require
(
'watchr'
)
,
spawn
=
require
(
'child_process'
).
spawn
watchr
.
watch
({
paths
:
[
__dirname
+
'/lib'
,
__dirname
+
'/spec'
,
__dirname
+
'/index.js'
],
listener
:
function
(
eventName
)
{
if
([
'new'
,
'change'
].
indexOf
(
eventName
)
>
-
1
)
{
// generate the documentation
spawn
(
'npm'
,
[
'run'
,
'docs'
])
// run the tests
var
buster
=
spawn
(
'./node_modules/.bin/buster-test'
,
[
'--reporter'
,
'specification'
],
{
env
:
process
.
ENV
})
buster
.
stderr
.
on
(
'data'
,
function
(
data
)
{
console
.
log
(
data
.
toString
())
})
buster
.
stdout
.
on
(
'data'
,
function
(
data
)
{
console
.
log
(
data
.
toString
())
})
}
}
})
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment