Skip to content

Commit

Permalink
Merge pull request #216 from tidev/excludeFiles
Browse files Browse the repository at this point in the history
fix(all): exclude semantic.colors.json
  • Loading branch information
hansemannn committed Dec 23, 2022
2 parents 5f43ce6 + 4a28aca commit 3e793aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion lib/fserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,11 @@ FServer.start = function (opts) {
* check if alloy project folder should be watched
*/
if (isAlloy) {
const alloyWatcher = fsWatcher.watch(ALLOY_DIR, { persistent: true, ignoreInitial: true });
const alloyWatcher = fsWatcher.watch(ALLOY_DIR, {
persistent: true,
ignoreInitial: true,
ignored: [ /semantic\.colors\.json/ ]
});
log('[LiveView]'.green, 'Alloy project monitor started');

alloyWatcher.on('change', function (file) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "liveview",
"version": "1.5.5",
"version": "1.5.6",
"description": "Titanium Live Realtime App Development",
"main": "index.js",
"directories": {
Expand Down

0 comments on commit 3e793aa

Please sign in to comment.