-
Notifications
You must be signed in to change notification settings - Fork 3
/
.freshenrc
66 lines (53 loc) · 2 KB
/
.freshenrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Example of a .freshenrc configuration file
#
# Place a file like this in the root of the directory you wish freshen to serve
# All directories below the directory that freshen is started in will be
# watched. Use this option to set a regular expression matching directories that
# should not be watched. Note that the root dir will always be included.
# exclude: /__foo/
# Files to reload in the browser when they change. The value of `change` should
# be either a string of suffix names separated by whitespace or an array of
# regular expressions.
report:
change: 'style.css index.html'
# Run command each time a file matching one of the suffixes or regular
# expressions in deps changes.
# The value of `deps` can be a string of suffix names or an Array of RegExps
build:
command: 'make'
deps: 'uml sh'
# Where to access server
url: 'http://localhost:1024'
# # http proxy - note that this requires http-proxy to be installed so that
# # freshen can require it
# ############
# proxy:
# # If a request matches this url
# from: '^/api/(.*)$'
# # rewite it to this url and send it returning the result
# to: 'http://localhost:8080/${1}'
# # retry this amount of times before bailing
# retry: 20
# Defaulted config values that can be overridden
################################################
# # Send at most 1 message to browsers in this amount of milliseconds This is
# # useful to avoid sending a lot of seperate requests to load files to browsers
# # when the build process changes many files
# delay: 150
# # Should terminal logging be in color?
# color: true
# # The whole page is loaded when change is reported. Set the following to true
# # to attempt to hot load only the changed resource
# load:
# js: true
# css: true
# png: true
# # Supply a custom mimetypes file
# mimeTypesFile: "mime.types"
# # Merge additional mime types that files can be served with
# mimeAdd:
# php: 'text/html'
# # How many retries the client attempts before giving up
# retries: 20
# # Help debugging
# debug: true