This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku buildpacks:set https://github.com/roj4s/subdir-heroku-buildpack -a | |
<app_name> | |
heroku buildpacks:add heroku/nodejs -a <app_name> | |
heroku config:set PROJECT_PATH=api -a <app_name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import time | |
from watchdog.observers import Observer | |
from watchdog.events import LoggingEventHandler | |
from watchdog.events import FileSystemEventHandler | |
class Handler(FileSystemEventHandler): | |
def __init__(self): | |
FileSystemEventHandler.__init__(self) |