update header
This commit is contained in:
parent
ea1fc71337
commit
762b8a65e2
5
Cakefile
5
Cakefile
@ -4,7 +4,7 @@ fs = require 'fs'
|
||||
|
||||
HEADER = fs.readFileSync 'header', 'utf8'
|
||||
INFILE = 'script.coffee'
|
||||
OUTFILE = '4chan_x.js'
|
||||
OUTFILE = '4chan_x.user.js'
|
||||
|
||||
build = ->
|
||||
fs.readFile INFILE, 'utf8', (err, code) ->
|
||||
@ -16,6 +16,9 @@ build = ->
|
||||
fs.writeFile OUTFILE, code, (err) ->
|
||||
throw err if err
|
||||
|
||||
task 'build', ->
|
||||
build()
|
||||
|
||||
task 'dev', ->
|
||||
build()
|
||||
fs.watchFile INFILE, interval: 250, (curr, prev) ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user